LALPulsar  6.1.0.1-fe68b98
CWMakeFakeData.c File Reference

Prototypes

static UINT4 gcd (UINT4 numer, UINT4 denom)
 
int XLALcorrect_phase (SFTtype *sft, LIGOTimeGPS tHeterodyne)
 Yousuke's phase-correction function, taken from makefakedata_v2. More...
 
int XLALCheckConfigFileWasFullyParsed (const char *fname, const LALParsedDataFile *cfgdata)
 
int XLALCWMakeFakeMultiData (MultiSFTVector **multiSFTs, MultiREAL8TimeSeries **multiTseries, const PulsarParamsVector *injectionSources, const CWMFDataParams *dataParams, const EphemerisData *edat)
 Generate fake 'CW' data, returned either as SFTVector or REAL4Timeseries or both, for given CW-signal ("pulsar") parameters and output parameters (frequency band etc) More...
 
int XLALCWMakeFakeData (SFTVector **SFTvect, REAL8TimeSeries **Tseries, const PulsarParamsVector *injectionSources, const CWMFDataParams *dataParams, UINT4 detectorIndex, const EphemerisData *edat)
 Single-IFO version of XLALCWMakeFakeMultiData(), handling the actual work, but same input API. More...
 
REAL4TimeSeriesXLALGenerateCWSignalTS (const PulsarParams *pulsarParams, const LALDetector *site, LIGOTimeGPS startTime, REAL8 duration, REAL8 fSamp, REAL8 fHet, const EphemerisData *edat, REAL8 sourceDeltaT)
 Generate a (heterodyned) REAL4 timeseries of a CW signal for given pulsarParams, site, start-time, duration, and sampling-rate. More...
 
SFTVectorXLALMakeSFTsFromREAL8TimeSeries (const REAL8TimeSeries *timeseries, const LIGOTimeGPSVector *timestamps, const char *windowType, REAL8 windowParam)
 Make SFTs from given REAL8TimeSeries at given timestamps, potentially applying a time-domain window on each timestretch first. More...
 
int XLALFindSmallestValidSamplingRate (UINT4 *n1, UINT4 n0, const LIGOTimeGPSVector *timestamps)
 Find the smallest sampling rate of the form fsamp = n / Tsft, with n>=n0, such that all gap sizes Dt_i between SFTs of the given timestamps are also exactly resolved, ie. More...
 
PulsarParamsVectorXLALCreatePulsarParamsVector (UINT4 numPulsars)
 Create zero-initialized PulsarParamsVector for numPulsars. More...
 
void XLALDestroyPulsarParamsVector (PulsarParamsVector *ppvect)
 Destructor for PulsarParamsVector type. More...
 
int XLALReadPulsarParams (PulsarParams *pulsarParams, LALParsedDataFile *cfgdata, const CHAR *secName, const LIGOTimeGPS *refTimeDef)
 Function to parse a config-file-type string (or section thereof) into a PulsarParams struct. More...
 
PulsarParamsVectorXLALPulsarParamsFromFile (const char *fname, const LIGOTimeGPS *refTimeDef)
 Parse a given 'CWsources' config file for PulsarParams, return vector of all pulsar definitions found [using sections]. More...
 
PulsarParamsVectorXLALPulsarParamsFromUserInput (const LALStringVector *UserInput, const LIGOTimeGPS *refTimeDef)
 Function to determine the PulsarParamsVector input from a user-input defining CW sources. More...
 
PulsarParamsVectorXLALPulsarParamsVectorAppend (PulsarParamsVector *list, const PulsarParamsVector *add)
 Append the given PulsarParamsVector 'add' to the vector 'list' ( which can be NULL), return resulting list with new elements 'add' appended at the end of 'list'. More...
 
int XLALFITSWritePulsarParamsVector (FITSFile *file, const CHAR *tableName, const PulsarParamsVector *list)
 Write a PulsarParamsVector to a FITS file. More...
 
void XLALDestroyCWMFDataParams (CWMFDataParams *params)
 Destructor for a CWMFDataParams type. More...
 

Go to the source code of this file.

Macros

#define SQ(x)   ( (x) * (x) )
 Functions to generate 'fake' data containing CW signals and/or Gaussian noise. These basically present a high-level wrapper API to the lower-level CW signal-generation functions in lalsuite. More...
 

Variables

const REAL8 eps = 10 * LAL_REAL8_EPS
 
const char *const InjectionSourcesHelpString
 

Variable Documentation

◆ eps

Definition at line 56 of file CWMakeFakeData.c.