Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LALSimNRSur7dq4Remnant.h
Go to the documentation of this file.
1/* Copyright (C) 2019 Vijay Varma
2 * Evaluates NRSur7dq4Remnant model for remnant BH mass, spin and recoil kick
3 * for generically precessing BBH.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with with program; see the file COPYING. If not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 * MA 02110-1301 USA
19 */
20
21/**
22 * \author Vijay Varma
23 *
24 * \file
25 *
26 * \brief NRSur7dq4Remnant model for remnant BH mass, spin and recoil kick for
27 * generically precessing BBH.
28 *
29 * The binary data file (NRSur7dq4Remnant_v1.0.h5) is available at:
30 * https://git.ligo.org/waveforms/software/lalsuite-waveform-data
31 * and on Zenodo at: https://zenodo.org/records/14999310.
32 * Get the lalsuite-waveform-data repo or put the data into a location in your
33 * LAL_DATA_PATH.
34 * The data is also available on CIT at /home/lalsimulation_data and via CVMFS
35 * at /cvmfs/shared.storage.igwn.org/igwn/shared/auxiliary/obs_sci/cbc/waveform/lalsimulation_data
36 *
37 * **Paper**: https://arxiv.org/abs/1905.09300,
38 * https://journals.aps.org/prresearch/abstract/10.1103/PhysRevResearch.1.033015
39 *
40 * **Parameter ranges**:
41 *
42 * q = [1, 6.01]
43 *
44 * \f$|\chi_{1}|, |\chi_{2}| \leq 1 \f$
45 *
46 * **Training parameter ranges**:
47 *
48 * q = [1, 4.01]
49 *
50 * \f$|\chi_{1}|, |\chi_{2}| \leq 0.81 \f$
51 *
52 * But extrapolates reasonably to the above mass ratios and spins. However,
53 * if a guarantee of accuracy is required, this model should be used within
54 * the training parameter range.
55 */
56
57// https://git.ligo.org/waveforms/software/lalsuite-waveform-data, should be placed in $LAL_DATA_PATH.
58// Also on Zenodo at: https://zenodo.org/records/14999310.
59// The data is also available on CIT at /home/lalsimulation_data and via CVMFS
60// at /cvmfs/shared.storage.igwn.org/igwn/shared/auxiliary/obs_sci/cbc/waveform/lalsimulation_data
61static const char NRSur7dq4Remnant_DATAFILE[] = "NRSur7dq4Remnant_v1.0.h5";
62
63//*************************************************************************/
64//************************* function declarations *************************/
65//*************************************************************************/
66
67static bool NRSur7dq4Remnant_IsSetup(void);
68
70
72 gsl_vector* fit_params,
73 const REAL8 q,
74 const REAL8 chiAx,
75 const REAL8 chiAy,
76 const REAL8 chiAz,
77 const REAL8 chiBx,
78 const REAL8 chiBy,
79 const REAL8 chiBz,
80 LALDict* LALparams
81);
static bool NRSur7dq4Remnant_IsSetup(void)
static int NRSur7dq4Remnant_fitParams(gsl_vector *fit_params, const REAL8 q, const REAL8 chiAx, const REAL8 chiAy, const REAL8 chiAz, const REAL8 chiBx, const REAL8 chiBy, const REAL8 chiBz, LALDict *LALparams)
static void NRSur7dq4Remnant_Init_LALDATA(void)
static const char NRSur7dq4Remnant_DATAFILE[]
double REAL8
static const INT4 q