Skip to content

TaylorF2

ripplegw.waveforms.TaylorF2 ¤

This file implements the TaylorF2 waveform, as described in the LALSuite library.

get_3PNSOCoeff(mByM) ¤

get_5PNSOCoeff(mByM) ¤

get_6PNSOCoeff(mByM) ¤

get_7PNSOCoeff(mByM) ¤

get_4PNS1S2Coeff(eta) ¤

get_4PNS1S2OCoeff(eta) ¤

get_4PNQM2SOCoeff(mByM) ¤

get_4PNSelf2SOCoeff(mByM) ¤

get_4PNQM2SCoeff(mByM) ¤

get_4PNSelf2SCoeff(mByM) ¤

get_6PNS1S2OCoeff(eta) ¤

get_6PNSelf2SCoeff(mByM) ¤

get_6PNQM2SCoeff(mByM) ¤

get_10PNTidalCoeff(mByM) ¤

get_12PNTidalCoeff(mByM) ¤

get_13PNTidalCoeff(mByM) ¤

get_14PNTidalCoeff(mByM) ¤

get_15PNTidalCoeff(mByM) ¤

get_flux_0PNCoeff(eta) ¤

get_energy_0PNCoeff(eta) ¤

get_PNPhasing_F2(m1: float, m2: float, S1z: float, S2z: float, lambda1: float, lambda2: float) -> tuple[dict, dict] ¤

Gets dictionaries giving the phasing coefficients to be used in the approximant. Keys are the different PN orders, with values being the corresponding coefficient. This follows the implementation of XLALSimInspiralPNPhasing_F2 from lalsuite.

Parameters:

Name Type Description Default
m1 float

Mass of first (heavier) object

required
m2 float

Mass of second (lighter) object

required
S1z float

z-component of spin of first object

required
S2z float

z-component of spin of second object

required
lambda1 float

Tidal deformability first object

required
lambda2 float

Tidal deformability first object

required

Returns:

Type Description
tuple[dict, dict]

tuple[dict, dict]: phasing_coeffs, phasing_log_coeffs as defined in the LAL source code, coefficients for various PN orders.

gen_TaylorF2(f: Array, params: Array, f_ref: float, use_lambda_tildes: bool = True) ¤

Generate TaylorF2 frequency domain waveform

vars array contains both intrinsic and extrinsic variables theta = [Mchirp, eta, chi1, chi2, lambda1, lambda1, D, tc, phic] Mchirp: Chirp mass of the system [solar masses] eta: Symmetric mass ratio [between 0.0 and 0.25] chi1: Dimensionless aligned spin of the primary object [between -1 and 1] chi2: Dimensionless aligned spin of the secondary object [between -1 and 1] lambda tilde: Dimensionless tidal deformability first object [between 0 and 5000] delta lamda tilde: Dimensionless tidal deformability second object [between 0 and 5000] D: Luminosity distance to source [Mpc] tc: Time of coalesence. This only appears as an overall linear in f contribution to the phase phic: Phase of coalesence

f_ref: Reference frequency for the waveform

Returns:

Name Type Description
h0 array

Strain

gen_TaylorF2_hphc(f: Array, params: Array, f_ref: float, use_lambda_tildes: bool = True) ¤

Generate PhenomD frequency domain waveform following 1508.07253. vars array contains both intrinsic and extrinsic variables theta = [Mchirp, eta, chi1, chi2, D, tc, phic] Mchirp: Chirp mass of the system [solar masses] eta: Symmetric mass ratio [between 0.0 and 0.25] chi1: Dimensionless aligned spin of the primary object [between -1 and 1] chi2: Dimensionless aligned spin of the secondary object [between -1 and 1] lambda1: Dimensionless tidal deformability of the primary object [between 0 and 5000] lambda2: Dimensionless tidal deformability of the secondary object [between 0 and 5000] D: Luminosity distance to source [Mpc] tc: Time of coalesence. This only appears as an overall linear in f contribution to the phase phic: Phase of coalesence inclination: Inclination angle of the binary [between 0 and PI]

f_ref: Reference frequency for the waveform

Returns:

Name Type Description
hp array

Strain of the plus polarization

hc array

Strain of the cross polarization

_gen_TaylorF2(f: Array, theta_intrinsic: Array, theta_extrinsic: Array, f_ref: float) ¤

Generates the TaylorF2 waveform accoding to lal implementation.

Note: internal units for mass are solar masses, as in LAL.

Parameters:

Name Type Description Default
f Array

Frequencies at which GW must be evaluated (Hz)

required
theta_intrinsic Array

Intrinsic parameters: component mass 1 [M_sun], component mass 2 [M_sun], spin 1 z-component, spin 2 z-component, dimensionless tidal deformability 1, dimensionless tidal deformability 2

required
theta_extrinsic Array

Extrinsic parameters: dist_mpc, tc, phic

required
f_ref float

Reference frequency

required

Returns:

Name Type Description
Array

GW strain, evaluated at given frequencies