LALPulsar  6.1.0.1-fe68b98
CWMakeFakeData.h File Reference

Prototypes

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...
 
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 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...
 
PulsarParamsVectorXLALCreatePulsarParamsVector (UINT4 numPulsars)
 Create zero-initialized PulsarParamsVector for numPulsars. 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...
 
void XLALDestroyPulsarParamsVector (PulsarParamsVector *ppvect)
 Destructor for PulsarParamsVector type. 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.

Data Structures

struct  PulsarParamsVector
 Straightforward vector type of N PulsarParams structs. More...
 
struct  CWMFDataParams
 Struct controlling all the aspects of the fake data (time-series + SFTs) to be produced by XLALCWMakeFakeData() and XLALCWMakeFakeMultiData() More...
 

Variables

const char *const InjectionSourcesHelpString