Prototypes | |
static UNUSED void | SEOBNRv4ROM_Init_LALDATA (void) |
Setup SEOBNRv4ROM model using data files installed in $LAL_DATA_PATH. More... | |
static UNUSED int | SEOBNRv4ROM_Init (const char dir[]) |
Setup SEOBNRv4ROM model using data files installed in dir. More... | |
static UNUSED bool | SEOBNRv4ROM_IsSetup (void) |
Helper function to check if the SEOBNRv4ROM model has been initialised. More... | |
static UNUSED int | SEOBNRROMdataDS_Init (SEOBNRROMdataDS *romdata, const char dir[]) |
static UNUSED void | SEOBNRROMdataDS_Cleanup (SEOBNRROMdataDS *romdata) |
static int | TP_Spline_interpolation_3d (REAL8 eta, REAL8 chi1, REAL8 chi2, gsl_vector *cvec_amp, gsl_vector *cvec_phi, int nk_amp, int nk_phi, int nk_max, int ncx, int ncy, int ncz, const double *etavec, const double *chi1vec, const double *chi2vec, gsl_vector *c_amp, gsl_vector *c_phi) |
static UNUSED int | SEOBNRROMdataDS_Init_submodel (UNUSED SEOBNRROMdataDS_submodel **submodel, UNUSED const char dir[], UNUSED const char grp_name[]) |
static UNUSED void | SEOBNRROMdataDS_Cleanup_submodel (SEOBNRROMdataDS_submodel *submodel) |
static UNUSED int | SEOBNRv4ROMCore (COMPLEX16FrequencySeries **hptilde, COMPLEX16FrequencySeries **hctilde, double phiRef, double fRef, double distance, double inclination, double Mtot_sec, double eta, double chi1, double chi2, const REAL8Sequence *freqs, double deltaF, int nk_max, LALDict *LALparams, NRTidal_version_type NRTidal_version) |
Core function for computing the ROM waveform. More... | |
static UNUSED void | SEOBNRROMdataDS_coeff_Init (SEOBNRROMdataDS_coeff **romdatacoeff, int nk_amp, int nk_phi) |
static UNUSED void | SEOBNRROMdataDS_coeff_Cleanup (SEOBNRROMdataDS_coeff *romdatacoeff) |
static size_t | NextPow2 (const size_t n) |
static UNUSED void | SplineData_Destroy (SplineData *splinedata) |
static UNUSED void | SplineData_Init (SplineData **splinedata, int ncx, int ncy, int ncz, const double *etavec, const double *chi1vec, const double *chi2vec) |
static UNUSED int | SEOBNRv4ROMTimeFrequencySetup (gsl_spline **spline_phi, gsl_interp_accel **acc_phi, REAL8 *Mf_final, REAL8 *Mtot_sec, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, REAL8 *Mf_ROM_min, REAL8 *Mf_ROM_max) |
static UNUSED REAL8 | Interpolate_Coefficent_Matrix (gsl_vector *v, REAL8 eta, REAL8 chi, int ncx, int ncy, gsl_bspline_workspace *bwx, gsl_bspline_workspace *bwy) |
static UNUSED void | GlueAmplitude (SEOBNRROMdataDS_submodel *submodel_lo, SEOBNRROMdataDS_submodel *submodel_hi, gsl_vector *amp_f_lo, gsl_vector *amp_f_hi, double amp_pre_lo, double amp_pre_hi, const double Mfm, gsl_interp_accel **acc_amp, gsl_spline **spline_amp) |
static UNUSED void | GluePhasing (SEOBNRROMdataDS_submodel *submodel_lo, SEOBNRROMdataDS_submodel *submodel_hi, gsl_vector *phi_f_lo, gsl_vector *phi_f_hi, const double Mfm, gsl_interp_accel **acc_phi_out, gsl_spline **spline_phi_out) |
static UNUSED int | SEOBNRROMdataDS_Init_submodel (SEOBNRROMdataDS_submodel **submodel, UNUSED const char dir[], UNUSED const char grp_name[]) |
int | SEOBNRROMdataDS_Init (UNUSED SEOBNRROMdataDS *romdata, UNUSED const char dir[]) |
int | XLALSimIMRSEOBNRv4ROMFrequencySequence (struct tagCOMPLEX16FrequencySeries **hptilde, struct tagCOMPLEX16FrequencySeries **hctilde, const REAL8Sequence *freqs, REAL8 phiRef, REAL8 fRef, REAL8 distance, REAL8 inclination, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, INT4 nk_max, LALDict *LALparams, NRTidal_version_type NRTidal_version) |
Compute waveform in LAL format at specified frequencies for the SEOBNRv4_ROM model. More... | |
int | XLALSimIMRSEOBNRv4ROM (struct tagCOMPLEX16FrequencySeries **hptilde, struct tagCOMPLEX16FrequencySeries **hctilde, REAL8 phiRef, REAL8 deltaF, REAL8 fLow, REAL8 fHigh, REAL8 fRef, REAL8 distance, REAL8 inclination, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, INT4 nk_max, LALDict *LALparams, NRTidal_version_type NRTidal_version) |
Compute waveform in LAL format for the SEOBNRv4_ROM model. More... | |
int | XLALSimIMRSEOBNRv4ROMTimeOfFrequency (REAL8 *t, REAL8 frequency, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2) |
Compute the 'time' elapsed in the ROM waveform from a given starting frequency until the ringdown. More... | |
int | XLALSimIMRSEOBNRv4ROMFrequencyOfTime (REAL8 *frequency, REAL8 t, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2) |
Compute the starting frequency so that the given amount of 'time' elapses in the ROM waveform from the starting frequency until the ringdown. More... | |
Go to the source code of this file.
Data Structures | |
struct | SEOBNRROMdataDS_coeff |
struct | SEOBNRROMdataDS_submodel |
struct | SEOBNRROMdataDS |
struct | SplineData |
Typedefs | |
typedef int(* | load_dataPtr) (const char *, gsl_vector *, gsl_vector *, gsl_matrix *, gsl_matrix *, gsl_vector *) |
Variables | |
static SEOBNRROMdataDS | __lalsim_SEOBNRv4ROMDS_data |
typedef int(* load_dataPtr) (const char *, gsl_vector *, gsl_vector *, gsl_matrix *, gsl_matrix *, gsl_vector *) |
Definition at line 118 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Setup SEOBNRv4ROM model using data files installed in $LAL_DATA_PATH.
Definition at line 1649 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Setup SEOBNRv4ROM model using data files installed in dir.
Definition at line 261 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Helper function to check if the SEOBNRv4ROM model has been initialised.
Definition at line 278 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
|
static |
Definition at line 529 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 346 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
|
static |
Definition at line 466 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Core function for computing the ROM waveform.
Interpolate projection coefficient data and evaluate coefficients at desired (q, chi). Construct 1D splines for amplitude and phase. Compute strain waveform from amplitude and phase.
Interpolate projection coefficient data and evaluate coefficients at desired (q, chi1, chi2). Construct 1D splines for amplitude and phase. Compute strain waveform from amplitude and phase.
hptilde | Output: Frequency-domain waveform h+ |
hctilde | Output: Frequency-domain waveform hx |
phiRef | Orbital phase (rad) |
fRef | Reference frequency |
distance | Distance of source (m) |
inclination | Inclination angle of source (rad) |
Mtot_sec | Total source mass in seconds |
eta | Symmetric mass ratio |
chi1 | Dimensionless aligned spin on companion 1 |
chi2 | Dimensionless aligned spin on companion 2 |
freqs_in | Frequency points at which to evaluate the waveform (Hz) |
deltaF | Sampling frequency (Hz). If deltaF > 0, the frequency points given in freqs are uniformly spaced with spacing deltaF. Otherwise, the frequency points are spaced non-uniformly. Then we will use deltaF = 0 to create the frequency series we return. |
nk_max | truncate interpolants at SVD mode nk_max; don't truncate if nk_max == -1 |
LALparams | LAL dictionary containing accessory parameters |
NRTidal_version | NRTidal version; either NRTidal_V or NRTidalv2_V or NoNRT_V in case of BBH baseline |
Definition at line 744 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 543 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 556 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 564 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 335 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 286 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 1287 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
|
static |
Definition at line 568 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 631 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 401 of file LALSimIMRSEOBNRv4ROM.c.
int SEOBNRROMdataDS_Init | ( | UNUSED SEOBNRROMdataDS * | romdata, |
UNUSED const char | dir[] | ||
) |
Definition at line 479 of file LALSimIMRSEOBNRv4ROM.c.
int XLALSimIMRSEOBNRv4ROMTimeOfFrequency | ( | REAL8 * | t, |
REAL8 | frequency, | ||
REAL8 | m1SI, | ||
REAL8 | m2SI, | ||
REAL8 | chi1, | ||
REAL8 | chi2 | ||
) |
Compute the 'time' elapsed in the ROM waveform from a given starting frequency until the ringdown.
The notion of elapsed 'time' (in seconds) is defined here as the difference of the frequency derivative of the frequency domain phase between the ringdown frequency and the starting frequency ('frequency' argument). This notion of time is similar to the chirp time, but it includes both the inspiral and the merger ringdown part of SEOBNRv4.
The allowed frequency range for the starting frequency in geometric frequency is [0.00053, 0.135]. The SEOBNRv4 ringdown frequency can be obtained by calling XLALSimInspiralGetFinalFreq().
See XLALSimIMRSEOBNRv4ROMFrequencyOfTime() for the inverse function.
t | Output: time (s) elapsed from starting frequency to ringdown |
frequency | Starting frequency (Hz) |
m1SI | Mass of companion 1 (kg) |
m2SI | Mass of companion 2 (kg) |
chi1 | Dimensionless aligned component spin 1 |
chi2 | Dimensionless aligned component spin 2 |
Definition at line 1452 of file LALSimIMRSEOBNRv4ROM.c.
int XLALSimIMRSEOBNRv4ROMFrequencyOfTime | ( | REAL8 * | frequency, |
REAL8 | t, | ||
REAL8 | m1SI, | ||
REAL8 | m2SI, | ||
REAL8 | chi1, | ||
REAL8 | chi2 | ||
) |
Compute the starting frequency so that the given amount of 'time' elapses in the ROM waveform from the starting frequency until the ringdown.
The notion of elapsed 'time' (in seconds) is defined here as the difference of the frequency derivative of the frequency domain phase between the ringdown frequency and the starting frequency ('frequency' argument). This notion of time is similar to the chirp time, but it includes both the inspiral and the merger ringdown part of SEOBNRv4.
If the frequency that corresponds to the specified elapsed time is lower than the ROM starting frequency or above half of the SEOBNRv4 ringdown frequency an error is thrown. The SEOBNRv4 ringdown frequency can be obtained by calling XLALSimInspiralGetFinalFreq().
See XLALSimIMRSEOBNRv4ROMTimeOfFrequency() for the inverse function.
frequency | Output: Frequency (Hz) |
t | Time (s) at frequency |
m1SI | Mass of companion 1 (kg) |
m2SI | Mass of companion 2 (kg) |
chi1 | Dimensionless aligned component spin 1 |
chi2 | Dimensionless aligned component spin 2 |
Definition at line 1545 of file LALSimIMRSEOBNRv4ROM.c.
|
static |
Definition at line 116 of file LALSimIMRSEOBNRv4ROM.c.