LALSimulation  5.4.0.1-fe68b98
LALSimIMRPhenomTHM.h
Go to the documentation of this file.
1 #ifndef _LALSIM_IMR_PHENOMT_H
2 #define _LALSIM_IMR_PHENOMT_H
3 
4 /*
5  * Copyright (C) 2020 Hector Estelles
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with with program; see the file COPYING. If not, write to the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20  * MA 02110-1301 USA
21  */
22 
23 
24 /**
25  * \author Hector Estelles
26  *
27  */
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 /*+++++++++++++++++++++++ Internal functions *****************/
34 
35 /* Function for generating a specific lm mode */
37  COMPLEX16TimeSeries **hlm, /**< UNDOCUMENTED */
38  IMRPhenomTWaveformStruct *pWF, /**< UNDOCUMENTED */
39  IMRPhenomTPhase22Struct *pPhase, /**< UNDOCUMENTED */
40  REAL8Sequence *phase22, /**< Values of the 22 phase for the waveform time array */
41  REAL8Sequence *xorb, /**< UNDOCUMENTED */
42  UINT4 ell, /**< UNDOCUMENTED */
43  UINT4 emm /**< UNDOCUMENTED */
44  );
45 
46 /* Function for generating all modes in a requested modelist */
48  SphHarmTimeSeries **hlms, /**< [out] Time domain modes */
49  REAL8 m1_SI, /**< Mass of companion 1 (kg) */
50  REAL8 m2_SI, /**< Mass of companion 2 (kg) */
51  REAL8 chi1L, /**< Dimensionless aligned spin of companion 1 */
52  REAL8 chi2L, /**< Dimensionless aligned spin of companion 2 */
53  REAL8 distance, /**< Luminosity distance (m) */
54  REAL8 deltaT, /**< sampling interval (s) */
55  REAL8 fmin, /**< starting GW frequency (Hz) */
56  REAL8 fRef, /**< reference GW frequency (Hz) */
57  REAL8 phiRef, /**< reference orbital phase (rad) */
58  LALDict *lalParams, /**< LAL dictionary containing accessory parameters */
59  UINT4 only22 /**< Internal flag for mode array check */
60  );
61 
62 /* Function to adapt user requested mode list to modes included in the model */
63 LALDict *IMRPhenomTHM_setup_mode_array(LALDict *lalParams);
64 int check_input_mode_array_THM(LALDict *lalParams);
65 int check_input_mode_array_22_THM(LALDict *lalParams);
66 
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* _LALSIM_IMR_PHENOMT_H */
int check_input_mode_array_THM(LALDict *lalParams)
int check_input_mode_array_22_THM(LALDict *lalParams)
int LALSimIMRPhenomTHM_OneMode(COMPLEX16TimeSeries **hlm, IMRPhenomTWaveformStruct *pWF, IMRPhenomTPhase22Struct *pPhase, REAL8Sequence *phase22, REAL8Sequence *xorb, UINT4 ell, UINT4 emm)
int LALSimIMRPhenomTHM_Modes(SphHarmTimeSeries **hlms, REAL8 m1_SI, REAL8 m2_SI, REAL8 chi1L, REAL8 chi2L, REAL8 distance, REAL8 deltaT, REAL8 fmin, REAL8 fRef, REAL8 phiRef, LALDict *lalParams, UINT4 only22)
LALDict * IMRPhenomTHM_setup_mode_array(LALDict *lalParams)
double REAL8
uint32_t UINT4
Structure to carry a collection of spherical harmonic modes in COMPLEX16 time series.
double deltaT
Definition: unicorn.c:24