cogwheel.waveform.inplane_spins_xy_to_xy_n¶
- cogwheel.waveform.inplane_spins_xy_to_xy_n(par_dic)¶
Rotate inplane spins (s1x, s1y) and (s2x, s2y) by an angle
phi_refto get (s1x_n, s1y_n), (s2x_n, s2y_n).par_dic needs to have keys ‘s1x’, ‘s1y’, ‘s2x’, ‘s2y’. Entries for ‘s1x_n’, ‘s1y_n’, ‘s2x_n’, ‘s2y_n’ will be added.
x_n,y_nare axes perpendicular to the orbital angular momentumL, so that the line of sightNlies in the y-z plane, i.e.:N = (0, sin(iota), cos(iota))
in the (x_n, y_n, z) system.
x,yare axes perpendicular to the orbital angular momentumL, so that the orbital separation is the x direction. The two systems coincide when phi_ref=0.