29#ifndef _LALINFERENCEBURSTROUTINES_H
30#define _LALINFERENCEBURSTROUTINES_H
32#include <gsl/gsl_rng.h>
33#include <lal/LALDatatypes.h>
35#if defined(__cplusplus)
53typedef enum tagBurstApproximant {
79 REAL8 centre_frequency,
90 REAL8 centre_frequency,
102 REAL8 centre_frequency,
124 REAL8 centre_frequency,
135 REAL8 centre_frequency,
159typedef struct tagLALSimBurstExtraParamData
168typedef struct tagLALSimBurstExtraParam
170 struct tagLALSimBurstExtraParamData *
data;
171 struct tagLALSimBurstExtraParam *
next;
248tagLALSimBurstWaveformCache {
342#elif defined(__cplusplus)
int XLALSimBurstAddExtraParam(LALSimBurstExtraParam **parameter, const char *name, const double value)
Function that adds a parameter to the extra burst parameters linked list.
BurstApproximant
Enum that specifies the PN approximant to be used in computing the waveform.
@ NumBurstApproximants
Number of elements in enum, useful for checking bounds.
int XLALSimBurstImplementedTDApproximants(BurstApproximant approximant)
int XLALInferenceBurstGaussianF(COMPLEX16FrequencySeries **hplus, COMPLEX16FrequencySeries **hcross, REAL8 duration, REAL8 hrss, REAL8 alpha, REAL8 deltaF, REAL8 deltaT)
int XLALInferenceBurstSineGaussianF(COMPLEX16FrequencySeries **hplus, COMPLEX16FrequencySeries **hcross, REAL8 Q, REAL8 centre_frequency, REAL8 hrss, REAL8 eccentricity, REAL8 phase, REAL8 deltaF, REAL8 deltaT)
double XLALSimBurstGetExtraParam(const LALSimBurstExtraParam *parameter, const char *name)
Function that returns the value of the desired parameters in the burst extra parameters linked list.
int XLALSimBurstChooseFDWaveform(COMPLEX16FrequencySeries **hptilde, COMPLEX16FrequencySeries **hctilde, REAL8 deltaF, REAL8 deltaT, REAL8 f0, REAL8 q, REAL8 tau, REAL8 f_min, REAL8 f_max, REAL8 hrss, REAL8 polar_angle, REAL8 polar_ecc, LALSimBurstExtraParam *extraParams, BurstApproximant approximant)
int XLALGetBurstApproximantFromString(const CHAR *inString)
XLAL function to determine burst approximant from a string.
LALSimBurstWaveformCache * XLALCreateSimBurstWaveformCache(void)
Construct and initialize a waveform cache.
int XLALSimBurstChooseTDWaveform(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, REAL8 deltaT, REAL8 f0, REAL8 q, REAL8 tau, REAL8 f_min, REAL8 f_max, REAL8 hrss, REAL8 polar_angle, REAL8 polar_ecc, LALSimBurstExtraParam *extraParams, BurstApproximant approximant)
int XLALSimBurstChooseFDWaveformFromCache(COMPLEX16FrequencySeries **hptilde, COMPLEX16FrequencySeries **hctilde, REAL8 deltaF, REAL8 deltaT, REAL8 f0, REAL8 q, REAL8 tau, REAL8 f_min, REAL8 f_max, REAL8 hrss, REAL8 polar_angle, REAL8 polar_ecc, LALSimBurstExtraParam *extraParams, BurstApproximant approximant, LALSimBurstWaveformCache *cache)
Chooses between different approximants when requesting a waveform to be generated Returns the wavefor...
void XLALSimBurstDestroyExtraParam(LALSimBurstExtraParam *parameter)
Function that destroys the whole extra burst parameters linked list.
void XLALDestroySimBurstWaveformCache(LALSimBurstWaveformCache *cache)
Destroy a waveform cache.
int XLALInferenceBurstGaussian(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, REAL8 duration, REAL8 hrss, REAL8 eccentricity, REAL8 polarization, REAL8 delta_t)
int XLALInferenceBurstDampedSinusoid(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, REAL8 Q, REAL8 centre_frequency, REAL8 hrss, REAL8 eccentricity, REAL8 phase, REAL8 delta_t)
int XLALInferenceBurstSineGaussianFFast(COMPLEX16FrequencySeries **hplus, COMPLEX16FrequencySeries **hcross, REAL8 Q, REAL8 centre_frequency, REAL8 hrss, REAL8 eccentricity, REAL8 phase, REAL8 deltaF, REAL8 deltaT)
int XLALSimBurstPrintExtraParam(FILE *fp, LALSimBurstExtraParam *parameter)
Function that prints the whole burst extra parameters linked list.
int XLALSimBurstSetExtraParam(LALSimBurstExtraParam *parameter, const char *name, const double value)
Function that sets the value of the desired parameter in the burst extra parameters linked list to 'v...
int XLALSimBurstChooseTDWaveformFromCache(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, REAL8 deltaT, REAL8 f0, REAL8 q, REAL8 tau, REAL8 f_min, REAL8 f_max, REAL8 hrss, REAL8 polar_angle, REAL8 polar_ecc, LALSimBurstExtraParam *extraParams, BurstApproximant approximant, LALSimBurstWaveformCache *cache)
Chooses between different approximants when requesting a waveform to be generated Returns the wavefor...
int XLALInferenceBurstDampedSinusoidF(COMPLEX16FrequencySeries **hplus, COMPLEX16FrequencySeries **hcross, REAL8 Q, REAL8 centre_frequency, REAL8 hrss, REAL8 eccentricity, REAL8 phase, REAL8 deltaF, REAL8 deltaT)
char * XLALGetStringFromBurstApproximant(BurstApproximant approximant)
XLAL function to determine string from approximant enum.
int XLALSimBurstImplementedFDApproximants(BurstApproximant approximant)
Checks whether the given approximant is implemented in lalsimulation's XLALSimInspiralChooseFDWavefor...
LALSimBurstExtraParam * XLALSimBurstCreateExtraParam(const char *name, double value)
Function that creates the head node of the extra burst parameters linked list.
int XLALSimBurstExtraParamExists(const LALSimBurstExtraParam *parameter, const char *name)
Function that checks whether the requested parameter exists within the burst extra parameters linked ...
int XLALCheckBurstApproximantFromString(const CHAR *inString)
int XLALInferenceBurstSineGaussian(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, REAL8 Q, REAL8 centre_frequency, REAL8 hrss, REAL8 eccentricity, REAL8 phase, REAL8 delta_t)
Enumeration to specify time or frequency domain.