LALSimulation  5.4.0.1-fe68b98
LALSimIMRSEOBNRv4HMROM.c File Reference

Prototypes

static UNUSED bool SEOBNRv4HMROM_IsSetup (UINT4 index_mode)
 Helper function to check if the SEOBNRv4HMROM model has been initialised. More...
 
static UNUSED void SEOBNRv4HMROM_Init_LALDATA (void)
 Setup SEOBNRv4HMROM model using data files installed in $LAL_DATA_PATH. More...
 
static UNUSED int SEOBNRv4HMROM_Init (const char dir[], UINT4 index_mode)
 Setup SEOBNRv4HMROM mode using data files installed in dir. More...
 
static UNUSED int SEOBNRROMdataDS_Init (SEOBNRROMdataDS *romdata, const char dir[], UINT4)
 
static UNUSED void SEOBNRROMdataDS_Cleanup (SEOBNRROMdataDS *romdata)
 
static UNUSED int SEOBNRROMdataDS_Init_submodel (UNUSED SEOBNRROMdataDS_submodel **submodel, UNUSED const char dir[], UNUSED const char grp_name[], UINT4 index_mode)
 
static UNUSED void SEOBNRROMdataDS_Cleanup_submodel (SEOBNRROMdataDS_submodel *submodel)
 
static UNUSED void SplineData_Destroy (SplineData *splinedata)
 
static UNUSED void SplineData_Init (SplineData **splinedata, int ncx, int ncy, int ncz, const double *qvec, const double *chi1vec, const double *chi2vec)
 
static UNUSED void AmpPhaseSplineData_Init (AmpPhaseSplineData ***data, const int num_modes)
 
static UNUSED void AmpPhaseSplineData_Destroy (AmpPhaseSplineData **data, const int num_modes)
 
static UNUSED int TaylorF2Amplitude (const double q, const double chi1, const double chi2, const int l, const int m, gsl_vector *Mfs, gsl_vector **PNamp)
 
static UNUSED int TaylorF2Phasing (double Mtot, double q, double chi1, double chi2, int l, int m, gsl_vector *Mfs, gsl_vector **PNphase)
 
static UNUSED double GetDeltaphilm (int l, int m)
 
static UNUSED double GetModeAmpFactor (double eta, double delta, double chi1, double chi2, int l, int m, double v)
 
static UNUSED int BuildInspiralGeomFrequencyGrid (gsl_vector **Mfreq, const double Mfmin, const double Mfmax, const double q, const double acc)
 
static UNUSED int SEOBNRv4HMROMCoreModes (SphHarmFrequencySeries **hlm_list, REAL8 phiRef, REAL8 fRef, REAL8 distance, REAL8 Mtot_sec, REAL8 q, REAL8 chi1, REAL8 chi2, const REAL8Sequence *freqs, REAL8 deltaF, INT4 nk_max, UINT4 nModes, REAL8 sign_odd_modes)
 Core function for computing the ROM waveform. More...
 
static UNUSED void SEOBNRROMdataDS_coeff_Init (SEOBNRROMdataDS_coeff **romdatacoeff, int nk_cmode, int nk_phase)
 
static UNUSED void SEOBNRROMdataDS_coeff_Cleanup (SEOBNRROMdataDS_coeff *romdatacoeff)
 
static size_t NextPow2 (const size_t n)
 
static UINT8 Setup_EOBROM__std_mode_array_structure (LALValue *ModeArray, UINT4 nModes)
 ModeArray is a structure which allows to select the modes to include in the waveform. More...
 
static INT8 Check_EOBROM_mode_array_structure (LALValue *ModeArray, UINT4 nModes)
 ModeArray is a structure which allows to select the modes to include in the waveform. More...
 
static int SEOBROMComputehplushcrossFromhlm (COMPLEX16FrequencySeries *hplusFS, COMPLEX16FrequencySeries *hcrossFS, LALValue *ModeArray, SphHarmFrequencySeries *hlm, REAL8 inc, REAL8 phi)
 
static int TP_Spline_interpolation_3d (REAL8 q, REAL8 chi1, REAL8 chi2, gsl_vector *cvec, int nk, int nk_max, int ncx, int ncy, int ncz, const double *qvec, const double *chi1vec, const double *chi2vec, gsl_vector *c_out)
 
static UNUSED UINT8 SEOBNRv4HMROM_Select_HF_patch (REAL8 q, REAL8 chi1)
 
static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid (gsl_vector *phase_f, REAL8 q, REAL8 chi1, REAL8 chi2, const char *freq_range, INT4 nk_max)
 
static UNUSED UINT8 SEOBNRv4HMROM_cmode_sparse_grid (gsl_vector *creal_f, gsl_vector *cimag_f, REAL8 q, REAL8 chi1, REAL8 chi2, const char *freq_range, UINT8 nMode, INT4 nk_max)
 
static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid_hybrid (gsl_vector *freq, gsl_vector *phase, gsl_vector *freq_lo, gsl_vector *freq_hi, REAL8 q, REAL8 chi1, REAL8 chi2, INT4 nk_max)
 
static UNUSED UINT8 SEOBNRv4HMROM_cmode_sparse_grid_hybrid (gsl_vector *freq, gsl_vector *cmode_real, gsl_vector *cmode_imag, gsl_vector *freq_lo, gsl_vector *freq_hi, REAL8 q, REAL8 chi1, REAL8 chi2, UINT8 nMode, INT8 nk_max)
 
static UNUSED UINT8 SEOBNRv4HMROM_freq_phase_sparse_grid_hybrid (UNUSED gsl_vector **freq, UNUSED gsl_vector **phase, REAL8 q, REAL8 chi1, REAL8 chi2, UINT8 flag_patch, INT4 nk_max)
 
static UNUSED UINT8 SEOBNRv4HMROM_freq_cmode_sparse_grid_hybrid (gsl_vector **freq_cmode, gsl_vector **cmode_real, gsl_vector **cmode_imag, REAL8 q, REAL8 chi1, REAL8 chi2, UINT8 nMode, UINT8 flag_patch, INT8 nk_max)
 
static UNUSED UINT8 SEOBNRv4HMROM_approx_phi_lm (gsl_vector *freq_mode_lm, gsl_vector *phase_approx_lm, gsl_vector *freq_carrier_hyb, gsl_vector *phase_carrier_hyb, UINT4 nMode)
 
static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid_hybrid_output_align (gsl_vector **freq, gsl_vector **phase, REAL8 *Deltat_align, REAL8 *Deltaphi_align, gsl_vector *phase_lo, gsl_vector *phase_hi, gsl_vector *freq_lo, gsl_vector *freq_hi, double f_hyb_lo, double f_hyb_hi)
 
static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid_hybrid_input_align (gsl_vector **freq, gsl_vector **phase, gsl_vector *phase_lo, gsl_vector *phase_hi, gsl_vector *freq_lo, gsl_vector *freq_hi, double f_hyb_lo, double f_hyb_hi, REAL8 Deltat_22_align, REAL8 Deltaphi_22_align, INT4 modeM)
 
static UNUSED UINT8 SEOBNRv4HMROM_amplitude_sparse_grid_hybrid_general (gsl_vector **freq, gsl_vector **amp, gsl_vector *amp_lo, gsl_vector *amp_hi, gsl_vector *freq_lo, gsl_vector *freq_hi, double f_hyb_lo, double f_hyb_hi)
 
static UNUSED int hybridize_ROM_with_PN_amplitude (gsl_spline **hyb_spline, AmpPhaseSplineData *ampPhaseSplineData_for_mode, gsl_vector *PN_freq, gsl_vector *PN_amp, double f_hyb_win_lo, double f_hyb_win_hi)
 
static UNUSED int hybridize_ROM_with_PN_phase_output_align (gsl_spline **hyb_spline, REAL8 *Deltat_align, REAL8 *Deltaphi_align, AmpPhaseSplineData *ampPhaseSplineData_for_mode, gsl_vector *PN_freq, gsl_vector *PN_phase, double f_hyb_win_lo, double f_hyb_win_hi)
 
static UNUSED int hybridize_ROM_with_PN_phase_input_align (gsl_spline **hyb_spline, AmpPhaseSplineData *ampPhaseSplineData_for_mode, gsl_vector *PN_freq, gsl_vector *PN_phase, double f_hyb_win_lo, double f_hyb_win_hi, REAL8 Deltat_22_align, REAL8 Deltaphi_22_align, INT4 modeM)
 
static UNUSED int SEOBNRv4HMROMCoreModeAmpPhaseSplines (UNUSED AmpPhaseSplineData **ampPhaseSplineData, UNUSED REAL8 q, UNUSED REAL8 chi1, UNUSED REAL8 chi2, UNUSED INT4 nk_max, UNUSED UINT4 nModes)
 
static UNUSED int SEOBNRv4HMROMCoreModesHybridized (UNUSED SphHarmFrequencySeries **hlm_list, UNUSED REAL8 phiRef, UNUSED REAL8 fRef, UNUSED REAL8 distance, UNUSED REAL8 Mtot_sec, UNUSED REAL8 q, UNUSED REAL8 chi1, UNUSED REAL8 chi2, UNUSED const REAL8Sequence *freqs_in, UNUSED REAL8 deltaF, UNUSED INT4 nk_max, UNUSED UINT4 nModes, REAL8 sign_odd_modes)
 
static UNUSED int spline_to_gsl_vectors (gsl_spline *s, gsl_vector **x, gsl_vector **y)
 
int SEOBNRROMdataDS_Init (UNUSED SEOBNRROMdataDS *romdata, UNUSED const char dir[], UNUSED UINT4 index_mode)
 
static UNUSED int SEOBNRROMdataDS_Init_submodel (SEOBNRROMdataDS_submodel **submodel, UNUSED const char dir[], UNUSED const char grp_name[], UNUSED UINT4 index_mode)
 
static UNUSED int SEOBNRv4HMROMCoreModes (UNUSED SphHarmFrequencySeries **hlm_list, UNUSED REAL8 phiRef, UNUSED REAL8 fRef, UNUSED REAL8 distance, UNUSED REAL8 Mtot_sec, UNUSED REAL8 q, UNUSED REAL8 chi1, UNUSED REAL8 chi2, UNUSED const REAL8Sequence *freqs_in, UNUSED REAL8 deltaF, UNUSED INT4 nk_max, UNUSED UINT4 nModes, REAL8 sign_odd_modes)
 Core function for computing the ROM modes. More...
 
static int SEOBROMComputehplushcrossFromhlm (COMPLEX16FrequencySeries *hplusFS, COMPLEX16FrequencySeries *hcrossFS, LALValue *ModeArray, SphHarmFrequencySeries *hlm, REAL8 inc, UNUSED REAL8 phi)
 This function combines the modes hlm frequencyseries with the sYlm to produce the polarizations hplus, hcross. More...
 
int XLALSimIMRSEOBNRv4HMROM (UNUSED struct tagCOMPLEX16FrequencySeries **hptilde, UNUSED struct tagCOMPLEX16FrequencySeries **hctilde, UNUSED REAL8 phiRef, UNUSED REAL8 deltaF, REAL8 fLow, UNUSED REAL8 fHigh, UNUSED REAL8 fRef, UNUSED REAL8 distance, UNUSED REAL8 inclination, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, UNUSED INT4 nk_max, UNUSED UINT4 nModes, bool use_hybridization, LALDict *LALParams)
 Compute waveform in LAL format for the SEOBNRv4HM_ROM model. More...
 
int XLALSimIMRSEOBNRv4HMROMFrequencySequence (UNUSED struct tagCOMPLEX16FrequencySeries **hptilde, UNUSED struct tagCOMPLEX16FrequencySeries **hctilde, const REAL8Sequence *freqs, UNUSED REAL8 phiRef, UNUSED REAL8 fRef, UNUSED REAL8 distance, UNUSED REAL8 inclination, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, UNUSED INT4 nk_max, UNUSED UINT4 nModes, LALDict *LALParams)
 Compute waveform polarizations at user specified frequencies for the SEOBNRv4HM_ROM model. More...
 
int XLALSimIMRSEOBNRv4HMROM_Modes (SphHarmFrequencySeries **hlm, UNUSED REAL8 phiRef, UNUSED REAL8 deltaF, REAL8 fLow, UNUSED REAL8 fHigh, REAL8 fRef, REAL8 distance, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, UNUSED INT4 nk_max, UNUSED UINT4 nModes, bool use_hybridization)
 Compute modes in LAL format for the SEOBNRv4HM_ROM model. More...
 
int XLALSimIMRSEOBNRv4HMROMFrequencySequence_Modes (SphHarmFrequencySeries **hlm, const REAL8Sequence *freqs, UNUSED REAL8 phiRef, UNUSED REAL8 fRef, UNUSED REAL8 distance, UNUSED REAL8 inclination, REAL8 m1SI, REAL8 m2SI, REAL8 chi1, REAL8 chi2, UNUSED INT4 nk_max, UNUSED UINT4 nModes, LALDict *LALParams)
 Compute waveform modes at user specified frequencies for the SEOBNRv4HM_ROM model. More...
 

Go to the source code of this file.

Data Structures

struct  SEOBNRROMdataDS_coeff
 
struct  SEOBNRROMdataDS_submodel
 
struct  SEOBNRROMdataDS
 
struct  SplineData
 
struct  AmpPhaseSplineData
 

Macros

#define NMODES   5
 
#define f_hyb_ini   0.003
 
#define f_hyb_end   0.004
 
#define Mf_low_22   0.0004925491025543576
 
#define Mf_low_33   (Mf_low_22 * (3.0/2.0))
 
#define Mf_low_21   (Mf_low_22 * (1.0/2.0))
 
#define Mf_low_44   (Mf_low_22 * (4.0/2.0))
 
#define Mf_low_55   (Mf_low_22 * (5.0/2.0))
 

Typedefs

typedef int(* load_dataPtr) (const char *, gsl_vector *, gsl_vector *, gsl_matrix *, gsl_matrix *, gsl_vector *)
 

Variables

const char mode_array [NMODES][3]
 
const UINT4 lmModes [NMODES][2] = {{2, 2}, {3, 3}, {2, 1}, {4, 4}, {5, 5}}
 
const REAL8 const_phaseshift_lm [NMODES] = {0.,-LAL_PI/2.,LAL_PI/2.,LAL_PI,LAL_PI/2.}
 
const REAL8 const_fmax_lm [NMODES] = {1.7, 1.55, 1.7, 1.35, 1.25}
 
const REAL8 Mf_low_lm [NMODES] = {Mf_low_22, Mf_low_33, Mf_low_21, Mf_low_44, Mf_low_55}
 
static SEOBNRROMdataDS __lalsim_SEOBNRv4HMROMDS_data [NMODES]
 

Macro Definition Documentation

◆ NMODES

#define NMODES   5

Definition at line 63 of file LALSimIMRSEOBNRv4HMROM.c.

◆ f_hyb_ini

#define f_hyb_ini   0.003

Definition at line 64 of file LALSimIMRSEOBNRv4HMROM.c.

◆ f_hyb_end

#define f_hyb_end   0.004

Definition at line 65 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Mf_low_22

#define Mf_low_22   0.0004925491025543576

Definition at line 118 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Mf_low_33

#define Mf_low_33   (Mf_low_22 * (3.0/2.0))

Definition at line 119 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Mf_low_21

#define Mf_low_21   (Mf_low_22 * (1.0/2.0))

Definition at line 120 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Mf_low_44

#define Mf_low_44   (Mf_low_22 * (4.0/2.0))

Definition at line 121 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Mf_low_55

#define Mf_low_55   (Mf_low_22 * (5.0/2.0))

Definition at line 122 of file LALSimIMRSEOBNRv4HMROM.c.

Typedef Documentation

◆ load_dataPtr

typedef int(* load_dataPtr) (const char *, gsl_vector *, gsl_vector *, gsl_matrix *, gsl_matrix *, gsl_vector *)

Definition at line 169 of file LALSimIMRSEOBNRv4HMROM.c.

Function Documentation

◆ SEOBNRv4HMROM_IsSetup()

static bool SEOBNRv4HMROM_IsSetup ( UINT4  index_mode)
static

Helper function to check if the SEOBNRv4HMROM model has been initialised.

Definition at line 465 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_Init_LALDATA()

static UNUSED void SEOBNRv4HMROM_Init_LALDATA ( void  )
static

Setup SEOBNRv4HMROM model using data files installed in $LAL_DATA_PATH.

Definition at line 435 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_Init()

static int SEOBNRv4HMROM_Init ( const char  dir[],
UINT4  index_mode 
)
static

Setup SEOBNRv4HMROM mode using data files installed in dir.

Definition at line 618 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRROMdataDS_Init() [1/2]

static UNUSED int SEOBNRROMdataDS_Init ( SEOBNRROMdataDS *  romdata,
const char  dir[],
UINT4   
)
static

◆ SEOBNRROMdataDS_Cleanup()

static void SEOBNRROMdataDS_Cleanup ( SEOBNRROMdataDS *  romdata)
static

Definition at line 696 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRROMdataDS_Init_submodel() [1/2]

static UNUSED int SEOBNRROMdataDS_Init_submodel ( UNUSED SEOBNRROMdataDS_submodel **  submodel,
UNUSED const char  dir[],
UNUSED const char  grp_name[],
UINT4  index_mode 
)
static

◆ SEOBNRROMdataDS_Cleanup_submodel()

static void SEOBNRROMdataDS_Cleanup_submodel ( SEOBNRROMdataDS_submodel *  submodel)
static

Definition at line 716 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SplineData_Destroy()

static void SplineData_Destroy ( SplineData splinedata)
static

Definition at line 525 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SplineData_Init()

static void SplineData_Init ( SplineData **  splinedata,
int  ncx,
int  ncy,
int  ncz,
const double *  qvec,
const double *  chi1vec,
const double *  chi2vec 
)
static

Definition at line 475 of file LALSimIMRSEOBNRv4HMROM.c.

◆ AmpPhaseSplineData_Init()

static void AmpPhaseSplineData_Init ( AmpPhaseSplineData ***  data,
const int  num_modes 
)
static

Definition at line 535 of file LALSimIMRSEOBNRv4HMROM.c.

◆ AmpPhaseSplineData_Destroy()

static void AmpPhaseSplineData_Destroy ( AmpPhaseSplineData **  data,
const int  num_modes 
)
static

Definition at line 550 of file LALSimIMRSEOBNRv4HMROM.c.

◆ TaylorF2Amplitude()

static int TaylorF2Amplitude ( const double  q,
const double  chi1,
const double  chi2,
const int  l,
const int  m,
gsl_vector *  Mfs,
gsl_vector **  PNamp 
)
static

Definition at line 1994 of file LALSimIMRSEOBNRv4HMROM.c.

◆ TaylorF2Phasing()

static int TaylorF2Phasing ( double  Mtot,
double  q,
double  chi1,
double  chi2,
int  l,
int  m,
gsl_vector *  Mfs,
gsl_vector **  PNphase 
)
static

Definition at line 1918 of file LALSimIMRSEOBNRv4HMROM.c.

◆ GetDeltaphilm()

static double GetDeltaphilm ( int  l,
int  m 
)
static

Definition at line 1879 of file LALSimIMRSEOBNRv4HMROM.c.

◆ GetModeAmpFactor()

static double GetModeAmpFactor ( double  eta,
double  delta,
double  chi1,
double  chi2,
int  l,
int  m,
double  v 
)
static

Definition at line 1897 of file LALSimIMRSEOBNRv4HMROM.c.

◆ BuildInspiralGeomFrequencyGrid()

static int BuildInspiralGeomFrequencyGrid ( gsl_vector **  Mfreq,
const double  Mfmin,
const double  Mfmax,
const double  q,
const double  acc 
)
static

Definition at line 2035 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROMCoreModes() [1/2]

static UNUSED int SEOBNRv4HMROMCoreModes ( SphHarmFrequencySeries **  hlm_list,
REAL8  phiRef,
REAL8  fRef,
REAL8  distance,
REAL8  Mtot_sec,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
const REAL8Sequence freqs,
REAL8  deltaF,
INT4  nk_max,
UINT4  nModes,
REAL8  sign_odd_modes 
)
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.

Parameters
hlm_listSpherical modes frequency series for the waveform
phiRefOrbital phase at reference time
fRefReference frequency (Hz); 0 defaults to fLow
distanceDistance of source (m)
Mtot_secTotal mass in seconds *
qMass ratio *
chi1Dimensionless aligned component spin 1
chi2Dimensionless aligned component spin 2
freqsFrequency points at which to evaluate the waveform (Hz)
deltaFIf 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_maxtruncate interpolants at SVD mode nk_max; don't truncate if nk_max == -1
nModesNumber of modes to generate
sign_odd_modesSign of the odd-m modes, used when swapping the two bodies

◆ SEOBNRROMdataDS_coeff_Init()

static void SEOBNRROMdataDS_coeff_Init ( SEOBNRROMdataDS_coeff **  romdatacoeff,
int  nk_cmode,
int  nk_phase 
)
static

Definition at line 830 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRROMdataDS_coeff_Cleanup()

static void SEOBNRROMdataDS_coeff_Cleanup ( SEOBNRROMdataDS_coeff romdatacoeff)
static

Definition at line 844 of file LALSimIMRSEOBNRv4HMROM.c.

◆ NextPow2()

static size_t NextPow2 ( const size_t  n)
static

Definition at line 852 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Setup_EOBROM__std_mode_array_structure()

static UINT8 Setup_EOBROM__std_mode_array_structure ( LALValue *  ModeArray,
UINT4  nModes 
)
static

ModeArray is a structure which allows to select the modes to include in the waveform.

This function will create a structure with the default modes for every model

Definition at line 1768 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Check_EOBROM_mode_array_structure()

static INT8 Check_EOBROM_mode_array_structure ( LALValue *  ModeArray,
UINT4  nModes 
)
static

ModeArray is a structure which allows to select the modes to include in the waveform.

This function check if the selected modes are available

Definition at line 1799 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBROMComputehplushcrossFromhlm() [1/2]

static int SEOBROMComputehplushcrossFromhlm ( COMPLEX16FrequencySeries hplusFS,
COMPLEX16FrequencySeries hcrossFS,
LALValue *  ModeArray,
SphHarmFrequencySeries hlm,
REAL8  inc,
REAL8  phi 
)
static
Parameters
hplusFS< Output: frequency series for hplus, already created
hcrossFS< Output: frequency series for hplus, already created
ModeArray< Input: ModeArray structure with the modes to include
hlm< Input: list with frequency series for each mode hlm
inc< Input: inclination
phi< Input: phase

◆ TP_Spline_interpolation_3d()

static int TP_Spline_interpolation_3d ( REAL8  q,
REAL8  chi1,
REAL8  chi2,
gsl_vector *  cvec,
int  nk,
int  nk_max,
int  ncx,
int  ncy,
int  ncz,
const double *  qvec,
const double *  chi1vec,
const double *  chi2vec,
gsl_vector *  c_out 
)
static

Definition at line 574 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_Select_HF_patch()

static UNUSED UINT8 SEOBNRv4HMROM_Select_HF_patch ( REAL8  q,
REAL8  chi1 
)
static

Definition at line 1448 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_phase_sparse_grid()

static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid ( gsl_vector *  phase_f,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
const char freq_range,
INT4  nk_max 
)
static

Definition at line 1282 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_cmode_sparse_grid()

static UNUSED UINT8 SEOBNRv4HMROM_cmode_sparse_grid ( gsl_vector *  creal_f,
gsl_vector *  cimag_f,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
const char freq_range,
UINT8  nMode,
INT4  nk_max 
)
static

Definition at line 1355 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_phase_sparse_grid_hybrid()

static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid_hybrid ( gsl_vector *  freq,
gsl_vector *  phase,
gsl_vector *  freq_lo,
gsl_vector *  freq_hi,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
INT4  nk_max 
)
static

Definition at line 856 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_cmode_sparse_grid_hybrid()

static UNUSED UINT8 SEOBNRv4HMROM_cmode_sparse_grid_hybrid ( gsl_vector *  freq,
gsl_vector *  cmode_real,
gsl_vector *  cmode_imag,
gsl_vector *  freq_lo,
gsl_vector *  freq_hi,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
UINT8  nMode,
INT8  nk_max 
)
static

Definition at line 1159 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_freq_phase_sparse_grid_hybrid()

static UNUSED UINT8 SEOBNRv4HMROM_freq_phase_sparse_grid_hybrid ( UNUSED gsl_vector **  freq,
UNUSED gsl_vector **  phase,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
UINT8  flag_patch,
INT4  nk_max 
)
static

Definition at line 883 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_freq_cmode_sparse_grid_hybrid()

static UNUSED UINT8 SEOBNRv4HMROM_freq_cmode_sparse_grid_hybrid ( gsl_vector **  freq_cmode,
gsl_vector **  cmode_real,
gsl_vector **  cmode_imag,
REAL8  q,
REAL8  chi1,
REAL8  chi2,
UINT8  nMode,
UINT8  flag_patch,
INT8  nk_max 
)
static

Definition at line 1187 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_approx_phi_lm()

static UNUSED UINT8 SEOBNRv4HMROM_approx_phi_lm ( gsl_vector *  freq_mode_lm,
gsl_vector *  phase_approx_lm,
gsl_vector *  freq_carrier_hyb,
gsl_vector *  phase_carrier_hyb,
UINT4  nMode 
)
static

Definition at line 1123 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_phase_sparse_grid_hybrid_output_align()

static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid_hybrid_output_align ( gsl_vector **  freq,
gsl_vector **  phase,
REAL8 Deltat_align,
REAL8 Deltaphi_align,
gsl_vector *  phase_lo,
gsl_vector *  phase_hi,
gsl_vector *  freq_lo,
gsl_vector *  freq_hi,
double  f_hyb_lo,
double  f_hyb_hi 
)
static

Definition at line 975 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_phase_sparse_grid_hybrid_input_align()

static UNUSED UINT8 SEOBNRv4HMROM_phase_sparse_grid_hybrid_input_align ( gsl_vector **  freq,
gsl_vector **  phase,
gsl_vector *  phase_lo,
gsl_vector *  phase_hi,
gsl_vector *  freq_lo,
gsl_vector *  freq_hi,
double  f_hyb_lo,
double  f_hyb_hi,
REAL8  Deltat_22_align,
REAL8  Deltaphi_22_align,
INT4  modeM 
)
static

Definition at line 1031 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROM_amplitude_sparse_grid_hybrid_general()

static UNUSED UINT8 SEOBNRv4HMROM_amplitude_sparse_grid_hybrid_general ( gsl_vector **  freq,
gsl_vector **  amp,
gsl_vector *  amp_lo,
gsl_vector *  amp_hi,
gsl_vector *  freq_lo,
gsl_vector *  freq_hi,
double  f_hyb_lo,
double  f_hyb_hi 
)
static

Definition at line 1079 of file LALSimIMRSEOBNRv4HMROM.c.

◆ hybridize_ROM_with_PN_amplitude()

static UNUSED int hybridize_ROM_with_PN_amplitude ( gsl_spline **  hyb_spline,
AmpPhaseSplineData ampPhaseSplineData_for_mode,
gsl_vector *  PN_freq,
gsl_vector *  PN_amp,
double  f_hyb_win_lo,
double  f_hyb_win_hi 
)
static
Parameters
hyb_splineOutput: spline
ampPhaseSplineData_for_modeROM spline data
PN_freqPN frequency
PN_ampPN amplitude
f_hyb_win_lohybridization window start
f_hyb_win_hihybridization window end

Definition at line 2078 of file LALSimIMRSEOBNRv4HMROM.c.

◆ hybridize_ROM_with_PN_phase_output_align()

static UNUSED int hybridize_ROM_with_PN_phase_output_align ( gsl_spline **  hyb_spline,
REAL8 Deltat_align,
REAL8 Deltaphi_align,
AmpPhaseSplineData ampPhaseSplineData_for_mode,
gsl_vector *  PN_freq,
gsl_vector *  PN_phase,
double  f_hyb_win_lo,
double  f_hyb_win_hi 
)
static
Parameters
hyb_splineOutput: spline
Deltat_alignOutput: time alignment
Deltaphi_alignOutput: phase alignment
ampPhaseSplineData_for_modeROM spline data
PN_freqPN frequency
PN_phasePN phase
f_hyb_win_lohybridization window start
f_hyb_win_hihybridization window end

Definition at line 2139 of file LALSimIMRSEOBNRv4HMROM.c.

◆ hybridize_ROM_with_PN_phase_input_align()

static UNUSED int hybridize_ROM_with_PN_phase_input_align ( gsl_spline **  hyb_spline,
AmpPhaseSplineData ampPhaseSplineData_for_mode,
gsl_vector *  PN_freq,
gsl_vector *  PN_phase,
double  f_hyb_win_lo,
double  f_hyb_win_hi,
REAL8  Deltat_22_align,
REAL8  Deltaphi_22_align,
INT4  modeM 
)
static
Parameters
hyb_splineOutput: spline
ampPhaseSplineData_for_modeROM spline data
PN_freqPN frequency
PN_phasePN phase
f_hyb_win_lohybridization window start
f_hyb_win_hihybridization window end
Deltat_22_alignInput: 22 time alignment
Deltaphi_22_alignInput: 22 phase alignment
modeMInput: m mode number

Definition at line 2187 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROMCoreModeAmpPhaseSplines()

static UNUSED int SEOBNRv4HMROMCoreModeAmpPhaseSplines ( UNUSED AmpPhaseSplineData **  ampPhaseSplineData,
UNUSED REAL8  q,
UNUSED REAL8  chi1,
UNUSED REAL8  chi2,
UNUSED INT4  nk_max,
UNUSED UINT4  nModes 
)
static
Parameters
ampPhaseSplineData< Output: amplitude and phase splines for the modes
qMass ratio *
chi1Dimensionless aligned component spin 1
chi2Dimensionless aligned component spin 2
nk_maxtruncate interpolants at SVD mode nk_max; don't truncate if nk_max == -1 (default).
nModesNumber of modes to generate

Definition at line 1470 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROMCoreModesHybridized()

static UNUSED int SEOBNRv4HMROMCoreModesHybridized ( UNUSED SphHarmFrequencySeries **  hlm_list,
UNUSED REAL8  phiRef,
UNUSED REAL8  fRef,
UNUSED REAL8  distance,
UNUSED REAL8  Mtot_sec,
UNUSED REAL8  q,
UNUSED REAL8  chi1,
UNUSED REAL8  chi2,
UNUSED const REAL8Sequence freqs_in,
UNUSED REAL8  deltaF,
UNUSED INT4  nk_max,
UNUSED UINT4  nModes,
REAL8  sign_odd_modes 
)
static
Parameters
hlm_list< Output: Spherical modes frequency series for the waveform
phiRef< orbital reference phase
fRefReference frequency (Hz); 0 defaults to fLow
distanceDistance of source (m)
Mtot_secTotal mass in seconds *
qMass ratio *
chi1Dimensionless aligned component spin 1
chi2Dimensionless aligned component spin 2
freqs_inFrequency points at which to evaluate the waveform (Hz)
deltaFFrequency points at which to evaluate the waveform (Hz)
nk_maxtruncate interpolants at SVD mode nk_max; don't truncate if nk_max == -1. We *nk_max == -1 is the default setting
nModesNumber of modes to generate
sign_odd_modesSign of the odd-m modes, used when swapping the two bodies

Definition at line 2240 of file LALSimIMRSEOBNRv4HMROM.c.

◆ spline_to_gsl_vectors()

static UNUSED int spline_to_gsl_vectors ( gsl_spline *  s,
gsl_vector **  x,
gsl_vector **  y 
)
static

Definition at line 418 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRROMdataDS_Init() [2/2]

int SEOBNRROMdataDS_Init ( UNUSED SEOBNRROMdataDS *  romdata,
UNUSED const char  dir[],
UNUSED UINT4  index_mode 
)

Definition at line 635 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRROMdataDS_Init_submodel() [2/2]

static UNUSED int SEOBNRROMdataDS_Init_submodel ( SEOBNRROMdataDS_submodel **  submodel,
UNUSED const char  dir[],
UNUSED const char  grp_name[],
UNUSED UINT4  index_mode 
)
static

Definition at line 731 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBNRv4HMROMCoreModes() [2/2]

static UNUSED int SEOBNRv4HMROMCoreModes ( UNUSED SphHarmFrequencySeries **  hlm_list,
UNUSED REAL8  phiRef,
UNUSED REAL8  fRef,
UNUSED REAL8  distance,
UNUSED REAL8  Mtot_sec,
UNUSED REAL8  q,
UNUSED REAL8  chi1,
UNUSED REAL8  chi2,
UNUSED const REAL8Sequence freqs_in,
UNUSED REAL8  deltaF,
UNUSED INT4  nk_max,
UNUSED UINT4  nModes,
REAL8  sign_odd_modes 
)
static

Core function for computing the ROM modes.

It rebuilds the modes starting from "orbital phase" and co-orbital modes. This function returns SphHarmFrequencySeries

Parameters
hlm_list< Spherical modes frequency series for the waveform
phiRef< orbital reference phase
fRefReference frequency (Hz); 0 defaults to fLow
distanceDistance of source (m)
Mtot_secTotal mass in seconds *
qMass ratio *
chi1Dimensionless aligned component spin 1
chi2Dimensionless aligned component spin 2
freqs_inFrequency points at which to evaluate the waveform (Hz)
deltaFFrequency points at which to evaluate the waveform (Hz)
nk_maxtruncate interpolants at SVD mode nk_max; don't truncate if nk_max == -1. We *nk_max == -1 is the default setting
nModesNumber of modes to generate
sign_odd_modesSign of the odd-m modes, used when swapping the two bodies

Definition at line 1600 of file LALSimIMRSEOBNRv4HMROM.c.

◆ SEOBROMComputehplushcrossFromhlm() [2/2]

static int SEOBROMComputehplushcrossFromhlm ( COMPLEX16FrequencySeries hplusFS,
COMPLEX16FrequencySeries hcrossFS,
LALValue *  ModeArray,
SphHarmFrequencySeries hlm,
REAL8  inc,
UNUSED REAL8  phi 
)
static

This function combines the modes hlm frequencyseries with the sYlm to produce the polarizations hplus, hcross.

Parameters
hplusFS< Output: frequency series for hplus, already created
hcrossFS< Output: frequency series for hplus, already created
ModeArray< Input: ModeArray structure with the modes to include
hlm< Input: list with frequency series for each mode hlm
inc< Input: inclination
phi< Input: phase

Definition at line 1851 of file LALSimIMRSEOBNRv4HMROM.c.

Variable Documentation

◆ mode_array

const char mode_array[NMODES][3]
Initial value:
=
{"22",
"33",
"21",
"44",
"55"}

Definition at line 94 of file LALSimIMRSEOBNRv4HMROM.c.

◆ lmModes

const UINT4 lmModes[NMODES][2] = {{2, 2}, {3, 3}, {2, 1}, {4, 4}, {5, 5}}

Definition at line 101 of file LALSimIMRSEOBNRv4HMROM.c.

◆ const_phaseshift_lm

const REAL8 const_phaseshift_lm[NMODES] = {0.,-LAL_PI/2.,LAL_PI/2.,LAL_PI,LAL_PI/2.}

Definition at line 105 of file LALSimIMRSEOBNRv4HMROM.c.

◆ const_fmax_lm

const REAL8 const_fmax_lm[NMODES] = {1.7, 1.55, 1.7, 1.35, 1.25}

Definition at line 114 of file LALSimIMRSEOBNRv4HMROM.c.

◆ Mf_low_lm

Definition at line 123 of file LALSimIMRSEOBNRv4HMROM.c.

◆ __lalsim_SEOBNRv4HMROMDS_data

SEOBNRROMdataDS __lalsim_SEOBNRv4HMROMDS_data[NMODES]
static

Definition at line 167 of file LALSimIMRSEOBNRv4HMROM.c.