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
LALSimNRSur3dq8Remnant.h
Go to the documentation of this file.
1/* Copyright (C) 2019 Vijay Varma
2 * Evaluates NRSur3dq8Remnant model for remnant BH mass, spin and recoil kick
3 * for aligned-spin 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 NRSur3dq8Remnant model for remnant BH mass, spin and recoil kick for
27 * aligned-spin BBH.
28 *
29 * The binary data file (NRSur3dq8Remnant_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/1809.09125,
38 * https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.122.011101.
39 * The model is referred to as surfinBH3dq8 in the paper.
40 *
41 * **Parameter ranges**:
42 *
43 * q = [1, 9.1]
44 * \f$\chi_{1z}, \chi_{2z}\f$ = [-0.91, 0.91]
45 *
46 * OR
47 *
48 * q = [1, 10.1]
49 * \f$\chi_{1z}, \chi_{2z}\f$ = [-0.81, 0.81]
50 *
51 * **Training parameter ranges**:
52 *
53 * q = [1, 8]
54 * \f$\chi_{1z}, \chi_{2z}\f$ = [-0.81, 0.81]
55 *
56 * But extrapolates reasonably to the above mass ratios and spins. However,
57 * if a guarantee of accuracy is required, this model should be used within
58 * the training parameter range.
59 */
60
61// https://git.ligo.org/waveforms/software/lalsuite-waveform-data, should be placed in $LAL_DATA_PATH.
62// Also on Zenodo at: https://zenodo.org/records/14999310.
63// The data is also available on CIT at /home/lalsimulation_data and via CVMFS
64// at /cvmfs/shared.storage.igwn.org/igwn/shared/auxiliary/obs_sci/cbc/waveform/lalsimulation_data
65static const char NRSur3dq8Remnant_DATAFILE[] = "NRSur3dq8Remnant_v1.0.h5";
66
67//*************************************************************************/
68//************************* function declarations *************************/
69//*************************************************************************/
70
71static bool NRSur3dq8Remnant_IsSetup(void);
72
74
76 gsl_vector* fit_params,
77 const REAL8 q,
78 const REAL8 chiAz,
79 const REAL8 chiBz,
80 LALDict* LALparams
81);
static int NRSur3dq8Remnant_fitParams(gsl_vector *fit_params, const REAL8 q, const REAL8 chiAz, const REAL8 chiBz, LALDict *LALparams)
static const char NRSur3dq8Remnant_DATAFILE[]
static void NRSur3dq8Remnant_Init_LALDATA(void)
static bool NRSur3dq8Remnant_IsSetup(void)
double REAL8
static const INT4 q