Auxiliary functions for SEOBNRv1/v2 reduced order modeling codes in LALSimIMRSEOBNRv2ROMDoubleSpin.c, LALSimIMRSEOBNRv1ROMDoubleSpin.c, LALSimIMRSEOBNRv2ROMEffectiveSpin.c, LALSimIMRSEOBNRv1ROMEffectiveSpin.c, LALSimIMRSEOBNRv2ChirpTime.c, LALSimIMRSEOBNRv2ROMDoubleSpinHI.c.
More...
|
static UNUSED int | read_vector (const char dir[], const char fname[], gsl_vector *v) |
|
static UNUSED int | read_matrix (const char dir[], const char fname[], gsl_matrix *m) |
|
static UNUSED char * | concatenate_strings (int count,...) |
|
static UNUSED REAL8 | sigmoid (REAL8 x) |
|
static UNUSED UINT4 | blend (gsl_vector *freqs, gsl_vector *out_fun, REAL8 freq_1, REAL8 freq_2) |
|
static UNUSED UINT4 | blend_functions (gsl_vector *freqs_out, gsl_vector *out_fun, gsl_vector *freq_in_1, gsl_vector *fun_in_1, gsl_vector *freq_in_2, gsl_vector *fun_in_2, REAL8 freq_1, REAL8 freq_2) |
|
static UNUSED UINT4 | compute_i_max_LF_i_min_HF (INT8 *i_max_LF, INT8 *i_min_LF, gsl_vector *freqs_in_1, gsl_vector *freqs_in_2, REAL8 freq_1) |
|
static UNUSED REAL8 | Get_omegaQNM_SEOBNRv4 (REAL8 q, REAL8 chi1z, REAL8 chi2z, UINT4 l, UINT4 m) |
|
static UNUSED REAL8 | Get_omegaQNM_SEOBNRv5 (REAL8 q, REAL8 chi1z, REAL8 chi2z, UINT4 l, UINT4 m) |
|
static UNUSED UINT4 | unwrap_phase (gsl_vector *phaseout, gsl_vector *phasein) |
|
static UNUSED UINT8 | compute_i_at_f (gsl_vector *freq_array, REAL8 freq) |
|
static UNUSED UINT4 | align_wfs_window (gsl_vector *f_array_1, gsl_vector *f_array_2, gsl_vector *phase_1, gsl_vector *phase_2, REAL8 *Deltat, REAL8 *Deltaphi, REAL8 f_align_start, REAL8 f_align_end) |
|
static UNUSED UINT4 | align_wfs_window_from_22 (gsl_vector *f_array_1, gsl_vector *f_array_2, gsl_vector *phase_1, gsl_vector *phase_2, REAL8 f_align_start, REAL8 f_align_end, REAL8 Deltat22, REAL8 Deltaphi22, INT4 modeM) |
|
static UNUSED REAL8 | Interpolate_Coefficent_Tensor (gsl_vector *v, REAL8 eta, REAL8 chi1, REAL8 chi2, int ncy, int ncz, gsl_bspline_workspace *bwx, gsl_bspline_workspace *bwy, gsl_bspline_workspace *bwz) |
|
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 gsl_vector * | Fit_cubic (const gsl_vector *xi, const gsl_vector *yi) |
|
static UNUSED bool | approximately_equal (REAL8 x, REAL8 y, REAL8 epsilon) |
|
static UNUSED void | nudge (REAL8 *x, REAL8 X, REAL8 epsilon) |
|
static UNUSED double | SEOBNRROM_Ringdown_Mf_From_Mtot_q (const double Mtot_sec, const double q, const double chi1, const double chi2, Approximant apx) |
|
static UNUSED double | SEOBNRROM_Ringdown_Mf_From_Mtot_Eta (const double Mtot_sec, const double eta, const double chi1, const double chi2, Approximant apx) |
|
static UNUSED void | test_save_gsl_vector (const char filename[], gsl_vector *v) |
|
static UNUSED void | test_save_gsl_spline (const char filename[], gsl_spline *s) |
|
static UNUSED void | test_save_cmplx_freq_series (COMPLEX16FrequencySeries *mode, const char filename[], bool save_real_part) |
|
Auxiliary functions for SEOBNRv1/v2 reduced order modeling codes in LALSimIMRSEOBNRv2ROMDoubleSpin.c, LALSimIMRSEOBNRv1ROMDoubleSpin.c, LALSimIMRSEOBNRv2ROMEffectiveSpin.c, LALSimIMRSEOBNRv1ROMEffectiveSpin.c, LALSimIMRSEOBNRv2ChirpTime.c, LALSimIMRSEOBNRv2ROMDoubleSpinHI.c.
- Author
- Michael Puerrer
Here I collect common auxiliary functions pertaining to reading data stored in gsl binary vectors and matrices, HDF5 files using the LAL interface, parameter space interpolation with B-splines, fitting to a cubic, a custom gsl error handler and adjustment of nearby parameter values.
Definition in file LALSimIMRSEOBNRROMUtilities.c.