pyseobnr.eob.utils.utils_precession_opt

Additional utility functions to manipulate various aspects of precession dynamics.

Functions

SEOBBuildJframeVectors(Jhat_final)

This function computes the Jframe unit vectors, with e3J along Jhat.

SEOBEulerJ2PFromDynamics(t, omega, LNhat)

This function computes the Euler angles from J-frame to P-frame given the Newtonian orbital angular momentum timeseries LNhat(t) in the J frame.

SEOBRotatehIlmFromhJlm_opt_v1(w_hJlm, ...)

This function computes the hIlm Re/Im timeseries (fixed sampling) from hJlm Re/Im timeseries (same sampling).

compute_omegalm_P_frame(omegalm, m, ...)

Function to compute the co-precessing frame QNM frequencies from the J-frame QNMs as described in arXiv:2301.06558.

custom_swsh(beta, gamma, lmax)

Function to compute the spin-weighted spherical harmonics necessary to compute the polarizations in the inertial frame from the co-precessing frame modes [(2,|2|),(2,|1|),(3,|3|),(3,|2|),(4,|4|),(4,|3|),(5,|5|)].

inspiral_merger_quaternion_angles(...[, t_ref])

Wrapper function to compute the angles/quaternions necessary to perform the rotations from the co-precessing frame (P-frame) to the observer inertial frame (I-frame) passing through the final angular momentum frame (J-frame) for the inspiral part of the waveform

interpolate_quats(quat, t_intrp, t_full)

Function to interpolate the quaternions from the co-precessing frame to the final J-frame into the equal-spacing and finer time grid of the waveform modes

minimal_quat(v_final, V, aux, t_dyn, omega)

Compute the rotation that aligns V with v_final and obeys the minimal rotation condition.

minimal_rotation_mine(R, t, v, omega, domega)

Adjust frame so that there is no rotation about z' axis.

seobnrv4P_quaternionJ2P_postmerger_extension(...)

Computes the ringdown approximation of the Euler angles in the J-frame, assuming simple precession around the final J-vector with a precession frequency approximately equal to the differences between the lowest overtone of the (2,2) and (2,1) QNM frequencies.