cogwheel.waveform.inplane_spins_xy_n_to_xy

cogwheel.waveform.inplane_spins_xy_n_to_xy(par_dic)

Rotate inplane spins (s1x_n, s1y_n) and (s2x_n, s2y_n) by an angle -phi_ref to get (s1x, s1y), (s2x, s2y).

par_dic needs to have keys ‘s1x_n’, ‘s1y_n’, ‘s2x_n’, ‘s2y_n’. Entries for ‘s1x’, ‘s1y’, ‘s2x’, ‘s2y’ will be added.

x_n, y_n are axes perpendicular to the orbital angular momentum L, so that the line of sight N lies in the y-z plane, i.e.:

N = (0, sin(iota), cos(iota))

in the (x_n, y_n, z) system. x, y are axes perpendicular to the orbital angular momentum L, so that the orbital separation is the x direction. The two systems coincide when phi_ref=0.