I need to apply a Lorentz boost to a couple of vectors ($a_1$ and $a_2$) in an arbitrary direction, let's say I want to switch them to a frame of reference with the following speed vector $v$ = $(0.3,0.8,0.2)$, to obtain $b_1$ and $b_2$. I can also express this direction in terms of $\theta$ and $\phi$.
Now, I seem to understand that the best way to do this is to:
Find a frame of reference such that $v$ lies along one of the axis, so that $v'$ = $(0.88,0,0).$
Express the 2 vectors $a_1$ and $a_2$ in the rotated frame of reference to obtain $a'_1$ and $a'_2$.
Apply easily Lorentz boost to $a'_1$ and $a'_2$ (which now applies to only one of their components), obtaining $b'_1$ and $b'_2$ .
Re-rotate $b'_1$ and $b'_2$ back to the original frame of reference to obtain $b_1$ and $b_2$.
But I can't find the rotation matrix that would bring me from one frame to another.