LALSimulation  5.4.0.1-fe68b98
LALSimIMRPhenomXHM_multiband.h File Reference

Prototypes

int IMRPhenomXHMMultiBandOneMode (COMPLEX16FrequencySeries **htildelm, IMRPhenomXWaveformStruct *pWF, UINT4 ell, UINT4 emm, LALDict *lalParams)
 
int IMRPhenomXHMMultiBandOneModeMixing (COMPLEX16FrequencySeries **htildelm, COMPLEX16FrequencySeries *htilde22, IMRPhenomXWaveformStruct *pWF, UINT4 ell, UINT4 emm, LALDict *lalParams)
 
static int SetupWFArraysReal (REAL8Sequence **freqs, REAL8FrequencySeries **amphase, const REAL8Sequence *freqs_In, IMRPhenomXWaveformStruct *pWF, LIGOTimeGPS ligotimegps_zero)
 
static int IMRPhenomXHM_Amplitude (REAL8FrequencySeries **amplm, const REAL8Sequence *freqs_In, IMRPhenomXWaveformStruct *pWF, IMRPhenomXAmpCoefficients *pAmp22, IMRPhenomXPhaseCoefficients *pPhase22, IMRPhenomXHMWaveformStruct *pWFHM, IMRPhenomXHMAmpCoefficients *pAmp, IMRPhenomXHMPhaseCoefficients *pPhase)
 
static int IMRPhenomXHM_AmplitudeMixing (REAL8FrequencySeries **amplm, const REAL8Sequence *freqs_In, IMRPhenomXWaveformStruct *pWF, IMRPhenomXHMWaveformStruct *pWFHM, IMRPhenomXHMAmpCoefficients *pAmp, IMRPhenomXHMPhaseCoefficients *pPhase)
 
static int IMRPhenomXHM_Phase (REAL8FrequencySeries **phaselm, const REAL8Sequence *freqs_In, IMRPhenomXWaveformStruct *pWF, IMRPhenomXAmpCoefficients *pAmp22, IMRPhenomXPhaseCoefficients *pPhase22, IMRPhenomXHMWaveformStruct *pWFHM, IMRPhenomXHMAmpCoefficients *pAmp, IMRPhenomXHMPhaseCoefficients *pPhase)
 
static int IMRPhenomXHM_PhaseMixing (REAL8FrequencySeries **phaselm, const REAL8Sequence *freqs_In, IMRPhenomXWaveformStruct *pWF, IMRPhenomXHMWaveformStruct *pWFHM, IMRPhenomXHMPhaseCoefficients *pPhase)
 
static double logbase (double base, double x)
 
IMRPhenomXMultiBandingGridStruct XLALSimIMRPhenomXGridComp (REAL8 fSTART, REAL8 fEND, REAL8 mydf)
 
INT4 XLALSimIMRPhenomXMultibandingGrid (REAL8 fstartIn, REAL8 fend, REAL8 MfLorentzianEnd, REAL8 Mfmax, REAL8 evaldMf, REAL8 dfpower, REAL8 dfcoefficient, IMRPhenomXMultiBandingGridStruct *allGrids, REAL8 dfmerger, REAL8 dfringdown)
 
static int interpolateAmplitude (double *fineAmp, double coarsefreqs[], double coarseAmp[], double finefreqs[], int lengthCoarse, int lengthFine, int ampinterpolorder)
 
static int interpolateAmplitudeMixing (double *fineAmp, double *fineAmpSS, double coarsefreqs[], double coarsefreqsSS[], double coarseAmp[], double coarseAmpSS[], double finefreqs[], int lengthCoarse, int lengthCoarseSS, int lengthFine, int sphericalfinecount, int sphericalfinecountMax, int ampinterpolorder)
 
static double deltaF_mergerBin (REAL8 fdamp, REAL8 alpha4, REAL8 abserror)
 
static double deltaF_ringdownBin (REAL8 fdamp, REAL8 alpha4, REAL8 LAMBDA, REAL8 abserror)
 
INT4 deltaF_MergerRingdown (REAL8 *dfmerger, REAL8 *dfringdown, REAL8 resTest, IMRPhenomXHMWaveformStruct *pWFHM, IMRPhenomXHMAmpCoefficients *pAmp, IMRPhenomXHMPhaseCoefficients *pPhase)
 

Go to the source code of this file.

Data Structures

struct  IMRPhenomXMultiBandingGridStruct
 

Function Documentation

◆ IMRPhenomXHMMultiBandOneMode()

int IMRPhenomXHMMultiBandOneMode ( COMPLEX16FrequencySeries **  htildelm,
IMRPhenomXWaveformStruct pWF,
UINT4  ell,
UINT4  emm,
LALDict *  lalParams 
)

Mode non-zero

Compute 22 using PhenomX functions

Higher modes

Parameters
[out]htildelmFD waveform *
pWFStructure of 22 mode *
ellFirst index (l,m) mode *
emmSecond incex (l,m) mode *
lalParamsLAL dictionary *

Definition at line 578 of file LALSimIMRPhenomXHM_multiband.c.

◆ IMRPhenomXHMMultiBandOneModeMixing()

int IMRPhenomXHMMultiBandOneModeMixing ( COMPLEX16FrequencySeries **  htildelm,
COMPLEX16FrequencySeries htilde22,
IMRPhenomXWaveformStruct pWF,
UINT4  ell,
UINT4  emm,
LALDict *  lalParams 
)
Parameters
[out]htildelmFD waveform
htilde22Recycle the 22 mode if previously computed *
pWFStructure of 22 mode *
ellFirst index (l,m) mode *
emmSecond incex (l,m) mode *
lalParamsLAL dictionary *

Definition at line 1381 of file LALSimIMRPhenomXHM_multiband.c.

◆ SetupWFArraysReal()

static int SetupWFArraysReal ( REAL8Sequence **  freqs,
REAL8FrequencySeries **  amphase,
const REAL8Sequence freqs_In,
IMRPhenomXWaveformStruct pWF,
LIGOTimeGPS  ligotimegps_zero 
)
static
Parameters
[out]freqsFrequency array to evaluate model *
[out]amphaseInitialize amplitude or phase with the length of freqs *
freqs_InInput frequency array or fmin, fmax *
pWFStructure of the 22 mode *
ligotimegps_zeroNeeded to initialize amphase *

◆ IMRPhenomXHM_Amplitude()

static int IMRPhenomXHM_Amplitude ( REAL8FrequencySeries **  amplm,
const REAL8Sequence freqs_In,
IMRPhenomXWaveformStruct pWF,
IMRPhenomXAmpCoefficients pAmp22,
IMRPhenomXPhaseCoefficients pPhase22,
IMRPhenomXHMWaveformStruct pWFHM,
IMRPhenomXHMAmpCoefficients pAmp,
IMRPhenomXHMPhaseCoefficients pPhase 
)
static
Parameters
[out]amplmamplitude of hlm mode *
freqs_InFrequency array to evaluate model or fmin, fmax *
pWFStructure of the 22 mode *
pAmp22Amplitude coefficients 22
pPhase22Phase coefficients 22
pWFHMwaveform parameters lm mode
pAmpAmplitude coefficients lm
pPhasePhase coefficients 22

◆ IMRPhenomXHM_AmplitudeMixing()

static int IMRPhenomXHM_AmplitudeMixing ( REAL8FrequencySeries **  amplm,
const REAL8Sequence freqs_In,
IMRPhenomXWaveformStruct pWF,
IMRPhenomXHMWaveformStruct pWFHM,
IMRPhenomXHMAmpCoefficients pAmp,
IMRPhenomXHMPhaseCoefficients pPhase 
)
static
Parameters
[out]amplmamplitude of hlm mode *
freqs_InFrequency array to evaluate model or fmin, fmax *
pWFStructure of the 22 mode *
pWFHMwaveform parameters lm mode
pAmpAmplitude coefficients lm
pPhasePhase coefficients 22

◆ IMRPhenomXHM_Phase()

static int IMRPhenomXHM_Phase ( REAL8FrequencySeries **  phaselm,
const REAL8Sequence freqs_In,
IMRPhenomXWaveformStruct pWF,
IMRPhenomXAmpCoefficients pAmp22,
IMRPhenomXPhaseCoefficients pPhase22,
IMRPhenomXHMWaveformStruct pWFHM,
IMRPhenomXHMAmpCoefficients pAmp,
IMRPhenomXHMPhaseCoefficients pPhase 
)
static
Parameters
[out]phaselmphase of hlm mode *
freqs_InFrequency array to evaluate model or fmin, fmax *
pWFStructure of the 22 mode *
pAmp22Amplitude coefficients 22
pPhase22Phase coefficients 22
pWFHMwaveform parameters lm mode
pAmpAmplitude coefficients lm
pPhasePhase coefficients 22

◆ IMRPhenomXHM_PhaseMixing()

static int IMRPhenomXHM_PhaseMixing ( REAL8FrequencySeries **  phaselm,
const REAL8Sequence freqs_In,
IMRPhenomXWaveformStruct pWF,
IMRPhenomXHMWaveformStruct pWFHM,
IMRPhenomXHMPhaseCoefficients pPhase 
)
static
Parameters
[out]phaselmphase of hlm mode *
freqs_InFrequency array to evaluate model or fmin, fmax *
pWFStructure of the 22 mode *
pWFHMwaveform parameters lm mode
pPhasePhase coefficients 22

◆ logbase()

static double logbase ( double  base,
double  x 
)
static

◆ XLALSimIMRPhenomXGridComp()

IMRPhenomXMultiBandingGridStruct XLALSimIMRPhenomXGridComp ( REAL8  fSTART,
REAL8  fEND,
REAL8  mydf 
)
Parameters
fSTARTStarting frequency of the uniform bin *
fENDEnding frequency of the uniform bin *
mydfFrequency spacing of the bin *

Definition at line 38 of file LALSimIMRPhenomXHM_multiband.c.

◆ XLALSimIMRPhenomXMultibandingGrid()

INT4 XLALSimIMRPhenomXMultibandingGrid ( REAL8  fstartIn,
REAL8  fend,
REAL8  MfLorentzianEnd,
REAL8  Mfmax,
REAL8  evaldMf,
REAL8  dfpower,
REAL8  dfcoefficient,
IMRPhenomXMultiBandingGridStruct allGrids,
REAL8  dfmerger,
REAL8  dfringdown 
)
Parameters
fstartInMinimun frequency in NR unit s*
fendEnd of inspiral frequency bins *
MfLorentzianEndDetermines the last frequency bin *
MfmaxMaximun frequency in NR units *
evaldMfSpacing of the uniform frequency grid (NR units) *
dfpowerdecaying frequency power to estimate frequency spacing *
dfcoefficientmultiplying factor to the estimate of the frequency spacing *
[out]allGridslist of non-uniform frequency bins*
[out]dfmergerSpacing merger bin*
[out]dfringdownSpacing ringdown bin*

Definition at line 74 of file LALSimIMRPhenomXHM_multiband.c.

◆ interpolateAmplitude()

static int interpolateAmplitude ( double *  fineAmp,
double  coarsefreqs[],
double  coarseAmp[],
double  finefreqs[],
int  lengthCoarse,
int  lengthFine,
int  ampinterpolorder 
)
static
Parameters
[out]fineAmpamplitude in the fine uniform grid *
coarsefreqsnon-uniform frequency array*
coarseAmpamplitude in the non-uniform frequency array *
finefreqsuniform fine frequency grid*
lengthCoarselength of non-uniform freq array *
lengthFinelength of uniform fine freq array *
ampinterpolorderorder of the gsl interpolation *

◆ interpolateAmplitudeMixing()

static int interpolateAmplitudeMixing ( double *  fineAmp,
double *  fineAmpSS,
double  coarsefreqs[],
double  coarsefreqsSS[],
double  coarseAmp[],
double  coarseAmpSS[],
double  finefreqs[],
int  lengthCoarse,
int  lengthCoarseSS,
int  lengthFine,
int  sphericalfinecount,
int  sphericalfinecountMax,
int  ampinterpolorder 
)
static
Parameters
[out]fineAmpamplitude in the fine uniform grid *
[out]fineAmpSSspheroidal amplitude in the fine uniform grid *
coarsefreqsnon-uniform frequency array*
coarsefreqsSSnon-uniform frequency array spheroidal *
coarseAmpamplitude in the non-uniform frequency array *
coarseAmpSSspheroidal amplitude in the non-uniform frequency array *
finefreqsuniform fine frequency grid*
lengthCoarselength of non-uniform freq array *
lengthCoarseSSlength of non-uniform freq array Sphroidal *
lengthFinelength of uniform fine freq array *
sphericalfinecountlength of spherical fine grid *
sphericalfinecountMaxlength of spherical fine grid *
ampinterpolorderorder of interpolation *

◆ deltaF_mergerBin()

static double deltaF_mergerBin ( REAL8  fdamp,
REAL8  alpha4,
REAL8  abserror 
)
static

◆ deltaF_ringdownBin()

static double deltaF_ringdownBin ( REAL8  fdamp,
REAL8  alpha4,
REAL8  LAMBDA,
REAL8  abserror 
)
static

◆ deltaF_MergerRingdown()

INT4 deltaF_MergerRingdown ( REAL8 dfmerger,
REAL8 dfringdown,
REAL8  resTest,
IMRPhenomXHMWaveformStruct pWFHM,
IMRPhenomXHMAmpCoefficients pAmp,
IMRPhenomXHMPhaseCoefficients pPhase 
)

Definition at line 407 of file LALSimIMRPhenomXHM_multiband.c.