Go to the source code of this file.
Macros | |
#define | INSPIRALH_ENULL 1 |
#define | INSPIRALH_EFILE 2 |
#define | INSPIRALH_ENONULL 3 |
#define | INSPIRALH_ENOMEM 4 |
#define | INSPIRALH_EVAL 5 |
#define | INSPIRALH_MSGENULL "Null pointer" |
#define | INSPIRALH_MSGEFILE "Error in file-IO" |
#define | INSPIRALH_MSGENONULL "Not a Null pointer" |
#define | INSPIRALH_MSGENOMEM "Memory ellocation error" |
#define | INSPIRALH_MSGEVAL "Invalid value" |
#define INSPIRALH_ENULL 1 |
Definition at line 54 of file inspiral.h.
#define INSPIRALH_EFILE 2 |
Definition at line 55 of file inspiral.h.
#define INSPIRALH_ENONULL 3 |
Definition at line 56 of file inspiral.h.
#define INSPIRALH_ENOMEM 4 |
Definition at line 57 of file inspiral.h.
#define INSPIRALH_EVAL 5 |
Definition at line 58 of file inspiral.h.
#define INSPIRALH_MSGENULL "Null pointer" |
Definition at line 60 of file inspiral.h.
#define INSPIRALH_MSGEFILE "Error in file-IO" |
Definition at line 61 of file inspiral.h.
#define INSPIRALH_MSGENONULL "Not a Null pointer" |
Definition at line 62 of file inspiral.h.
#define INSPIRALH_MSGENOMEM "Memory ellocation error" |
Definition at line 63 of file inspiral.h.
#define INSPIRALH_MSGEVAL "Invalid value" |
Definition at line 64 of file inspiral.h.
REAL4 compute_candle_distance | ( | REAL4 | candleM1, |
REAL4 | candleM2, | ||
REAL4 | snr, | ||
REAL8 | chanDeltaT, | ||
INT4 | nPoints, | ||
REAL8FrequencySeries * | spec, | ||
UINT4 | cut | ||
) |
Definition at line 84 of file inspiralutils.c.
REAL4 XLALCandleDistanceTD | ( | Approximant | approximant, |
REAL4 | candleM1, | ||
REAL4 | candleM2, | ||
REAL4 | candlesnr, | ||
REAL8 | chanDeltaT, | ||
INT4 | nPoints, | ||
REAL8FrequencySeries * | spec, | ||
UINT4 | cut | ||
) |
Definition at line 119 of file inspiralutils.c.
void AddNumRelStrainModes | ( | LALStatus * | status, |
REAL4TimeVectorSeries ** | outStrain, | ||
SimInspiralTable * | thisinj | ||
) |
status | pointer to LALStatus structure | |
[out] | outStrain | h+, hx data |
[in] | thisinj | injection data |
Definition at line 189 of file inspiralutils.c.
void AddNumRelStrainModesREAL8 | ( | LALStatus * | status, |
REAL8TimeSeries ** | outPlus, | ||
REAL8TimeSeries ** | outCross, | ||
SimInspiralTable * | thisinj | ||
) |
void InjectNumRelWaveforms | ( | LALStatus * | status, |
REAL4TimeSeries * | chan, | ||
SimInspiralTable * | injections, | ||
CHAR | ifo[3], | ||
REAL8 | dynRange, | ||
REAL8 | freqLowCutoff, | ||
REAL8 | snrLow, | ||
REAL8 | snrHigh, | ||
CHAR * | fname | ||
) |
Main function for injecting numetrical relativity waveforms.
Takes as input a list of injections, and adds h(t) to a given timeseries for a specified ifo and a dynamic range factor.
status | pointer to LALStatus structure | |
[out] | chan | the output time series |
[in] | injections | list of injections |
[in] | ifo | 2 char code for interferometer |
[in] | dynRange | dynamic range factor for scaling time series |
[in] | freqLowCutoff | Lower cutoff frequency |
[in] | snrLow | lower cutoff value of snr |
snrHigh | TO BE DOCUMENTED | |
[in] | fname | higher cutoff value of snr |
Definition at line 435 of file inspiralutils.c.
void InjectNumRelWaveformsREAL8 | ( | LALStatus * | status, |
REAL8TimeSeries * | chan, | ||
SimInspiralTable * | injections, | ||
CHAR | ifo[3], | ||
REAL8 | freqLowCutoff, | ||
REAL8 | snrLow, | ||
REAL8 | snrHigh, | ||
CHAR * | fname | ||
) |
Main function for injecting numetrical relativity waveforms.
Takes as input a list of injections, and adds h(t) to a given timeseries for a specified ifo and a dynamic range factor.
status | pointer to LALStatus structure | |
[out] | chan | the output time series |
[in] | injections | list of injections |
[in] | ifo | 2 char code for interferometer |
[in] | freqLowCutoff | Lower cutoff frequency |
[in] | snrLow | lower cutoff value of snr |
snrHigh | TO BE DOCUMENTED | |
[in] | fname | higher cutoff value of snr |
Definition at line 534 of file inspiralutils.c.
void InjectNumRelWaveformsUsingPSDREAL8 | ( | LALStatus * | status, |
REAL8TimeSeries * | chan, | ||
SimInspiralTable * | injections, | ||
CHAR | ifo[3], | ||
REAL8 | freqLowCutoff, | ||
REAL8 | snrLow, | ||
REAL8 | snrHigh, | ||
REAL8FrequencySeries * | ligoPSD, | ||
REAL8 | ligoSnrLowFreq, | ||
REAL8FrequencySeries * | virgoPSD, | ||
REAL8 | virgoSnrLowFreq, | ||
CHAR * | fname | ||
) |
Main function for injecting numetrical relativity waveforms.
Takes as input a list of injections, and adds h(t) to a given timeseries for a specified ifo and a dynamic range factor. Updated/generalized version of InjectNumRelWaveforms that allows arbitrary LIGO and Virgo PSDs and integration starting frequencies
status | pointer to LALStatus structure | |
[out] | chan | the output time series |
[in] | injections | list of injections |
[in] | ifo | 2 char code for interferometer |
[in] | freqLowCutoff | Lower cutoff frequency |
[in] | snrLow | lower cutoff value of snr |
snrHigh | TO BE DOCUMENTED | |
[in] | ligoPSD | PSD to use for LIGO SNRs. If NULL, use initial PSD |
[in] | ligoSnrLowFreq | Frequency at which to start integration for LIGO SNRs |
[in] | virgoPSD | PSD to use for Virgo SNRs. If NULL, use initial PSD |
[in] | virgoSnrLowFreq | Frequency at which to start integration for Virgo SNRs |
[in] | fname | higher cutoff value of snr |
Definition at line 328 of file inspiralutils.c.
Definition at line 620 of file inspiralutils.c.
REAL8 calculate_ligo_snr_from_strain | ( | REAL4TimeVectorSeries * | strain, |
SimInspiralTable * | thisInj, | ||
const CHAR | ifo[3] | ||
) |
Definition at line 798 of file inspiralutils.c.
REAL8 calculate_ligo_snr_from_strain_real8 | ( | REAL8TimeSeries * | strain, |
const CHAR | ifo[3] | ||
) |
Definition at line 667 of file inspiralutils.c.
REAL8 calculate_snr_from_strain_and_psd_real8 | ( | REAL8TimeSeries * | strain, |
REAL8FrequencySeries * | psd, | ||
REAL8 | startFreq, | ||
const CHAR | ifo[3] | ||
) |
Definition at line 722 of file inspiralutils.c.
REAL8TimeSeries * XLALNRInjectionStrain | ( | const char * | ifo, |
SimInspiralTable * | inj | ||
) |
int XLALPsdFromFile | ( | REAL8FrequencySeries ** | psd, |
const CHAR * | filename | ||
) |
[out] | psd | The PSD |
[in] | filename | name of the file to be read |
Definition at line 860 of file inspiralutils.c.
REAL8FrequencySeries * XLALInterpolatePSD | ( | REAL8FrequencySeries * | in, |
REAL8 | deltaFout | ||
) |
Function for interpolating PSD to a given sample rate.
in | input strain time series |
deltaFout | sample rate of time series |
Definition at line 923 of file inspiralutils.c.
REAL8 calculate_lalsim_snr | ( | SimInspiralTable * | inj, |
char * | IFOname, | ||
REAL8FrequencySeries * | psd, | ||
REAL8 | start_freq | ||
) |
Definition at line 1010 of file inspiralutils.c.
void get_FakePsdFromString | ( | REAL8FrequencySeries * | PsdFreqSeries, |
char * | FakePsdName, | ||
REAL8 | StartFreq | ||
) |
Definition at line 983 of file inspiralutils.c.