LALSimulation  5.4.0.1-fe68b98
LALSimIMRPhenomX_PNR.c File Reference

Prototypes

Routines for PNR angles

C code for routines to implement PNR angles in IMRPhenomXP/IMRPhenomXPHM.

Author
Eleanor Hamilton, Sebastian Khan, Jonathan E. Thompson

This is a C-code impementation of the PNR angle model outlined in arXiv:2107.08876.

Available flags: PhenomXPNRUseTunedAngles:

  • 0 : Disable PNR angles. Use the default NNLO/MSA precession angles in IMRPhenomXP/HM without tuning.
  • 1 : Enable PNR angles.
int XLALSimIMRPhenomX_PNR_GeneratePNRAngles (REAL8Sequence **alphaPNR, REAL8Sequence **betaPNR, REAL8Sequence **gammaPNR, REAL8Sequence **freqs, REAL8 *alphaPNR_ref, REAL8 *gammaPNR_ref, REAL8 m1_SI, REAL8 m2_SI, REAL8 chi1x, REAL8 chi1y, REAL8 chi1z, REAL8 chi2x, REAL8 chi2y, REAL8 chi2z, REAL8 inclination, REAL8 deltaF, REAL8 f_min, REAL8 f_max, REAL8 fRef_In, LALDict *lalParams)
 This is an external wrapper to generate the (2,2) PNR angles, following the prescription outlined in arXiv:2107.08876, given the standard inputs given to generate FD waveforms. More...
 
int XLALSimIMRPhenomX_PNR_GeneratePNRAnglesHM (REAL8Sequence **alphaPNR, REAL8Sequence **betaPNR, REAL8Sequence **gammaPNR, REAL8Sequence **freqs, REAL8 *alphaPNR_ref, REAL8 *gammaPNR_ref, REAL8 m1_SI, REAL8 m2_SI, REAL8 chi1x, REAL8 chi1y, REAL8 chi1z, REAL8 chi2x, REAL8 chi2y, REAL8 chi2z, REAL8 inclination, REAL8 deltaF, REAL8 f_min, REAL8 f_max, REAL8 fRef_In, INT4 ell, INT4 emmprime, LALDict *lalParams)
 This is an external wrapper to generate the (l,m) PNR angles, following the prescriptions outlined in arXiv:2107.08876 and arXiv:##### FIXME: add reference, given the standard inputs given to generate FD waveforms. More...
 
int IMRPhenomX_PNR_GeneratePNRAngles (REAL8Sequence *alphaPNR, REAL8Sequence *betaPNR, REAL8Sequence *gammaPNR, const REAL8Sequence *freqs, IMRPhenomXWaveformStruct *pWF, IMRPhenomXPrecessionStruct *pPrec, LALDict *lalParams)
 Generate the tuned precession angles outlined in arXiv:2107.08876. More...
 
int IMRPhenomX_PNR_GeneratePNRAngles_UniformFrequencies (REAL8Sequence *alphaPNR, REAL8Sequence *betaPNR, REAL8Sequence *gammaPNR, const REAL8Sequence *freqs, IMRPhenomXWaveformStruct *pWF_SingleSpin, IMRPhenomXPrecessionStruct *pPrec_SingleSpin, IMRPhenomX_PNR_alpha_parameters *alphaParams, IMRPhenomX_PNR_beta_parameters *betaParams, IMRPhenomXWaveformStruct *pWF, IMRPhenomXPrecessionStruct *pPrec, LALDict *lalParams)
 Generate the tuned precession angles outlined in arXiv:2107.08876 specifically on a uniform frequency grid. More...
 
int IMRPhenomX_PNR_GeneratePNRAlphaForAntisymmetry (REAL8Sequence *alphaPNR, const REAL8Sequence *freqs, IMRPhenomXWaveformStruct *pWF, IMRPhenomXPrecessionStruct *pPrec, LALDict *lalParams)
 Internal helper function to generate PNR alpha for the antisymmetric waveform. More...
 
int IMRPhenomX_PNR_GeneratePNRAngleInterpolants (IMRPhenomX_PNR_angle_spline *angle_spline, IMRPhenomXWaveformStruct *pWF, IMRPhenomXPrecessionStruct *pPrec, LALDict *lalparams)
 Generate the tuned precession angles outlined in arXiv:2107.08876 specifically populate the angle interpolant struct. More...
 
REAL8 XLALSimIMRPhenomX_PNR_GenerateEffectiveRingdownFreq (REAL8 m1_SI, REAL8 m2_SI, REAL8 chi1x, REAL8 chi1y, REAL8 chi1z, REAL8 chi2x, REAL8 chi2y, REAL8 chi2z, REAL8 f_min, REAL8 f_max, REAL8 fRef, UINT4 ell, UINT4 emmprime, LALDict *lalParams)
 External wrapper for IMRPhenomX_PNR_GenerateEffectiveRingdownFreq. More...
 
REAL8 XLALSimIMRPhenomX_PNR_GenerateRingdownPNRBeta (REAL8 m1_SI, REAL8 m2_SI, REAL8 chi1x, REAL8 chi1y, REAL8 chi1z, REAL8 chi2x, REAL8 chi2y, REAL8 chi2z, REAL8 deltaF, REAL8 f_min, REAL8 f_max, REAL8 fRef_In, LALDict *lalParams)
 External wrapper for IMRPhenomX_PNR_GenerateRingdownPNRBeta. More...
 
int XLALSimIMRPhenomX_PNR_InterpolationDeltaF (INT4 *twospin, INT4 *precversion, REAL8 *deltaF, REAL8 m1_SI, REAL8 m2_SI, REAL8 chi1x, REAL8 chi1y, REAL8 chi1z, REAL8 chi2x, REAL8 chi2y, REAL8 chi2z, REAL8 f_min, REAL8 f_max, REAL8 fRef, LALDict *lalParams)
 

Go to the source code of this file.

Macros

#define omp   ignore
 
#define DEBUG   0
 

Macro Definition Documentation

◆ omp

#define omp   ignore

Definition at line 39 of file LALSimIMRPhenomX_PNR.c.

◆ DEBUG

#define DEBUG   0

Definition at line 43 of file LALSimIMRPhenomX_PNR.c.