LALInspiral 5.0.3.1-eeff03c
NRWaveIO.h File Reference

Prototypes

void LALReadNRWave_raw (LALStatus *status, REAL4TimeVectorSeries **out, const CHAR *filename)
 Functionfor reading the numrel waveform – just returns the numrel data as it is without any rescaling of time or amplitude. More...
 
void LALReadNRWave_raw_real8 (LALStatus *status, REAL8TimeVectorSeries **out, const CHAR *filename)
 
void LALReadNRWave (LALStatus *status, REAL4TimeVectorSeries **out, const REAL4 mass, const CHAR *filename)
 Reads a numerical relativity waveform given a filename and a value of the total mass for setting the timescale. More...
 
void LALNRDataFind (LALStatus *status, NRWaveCatalog *out, const CHAR *dir, const CHAR *filename)
 Function for reading a numerical relativity metadata file. More...
 
void LALGetSingleNRMetaData (LALStatus *status, NRWaveMetaData *data, const CHAR *dir, const CHAR *cfgstr)
 Parse a single string to fill the NRWaveMetaData structure. More...
 
void LALAddStrainModes (LALStatus *status, REAL4TimeVectorSeries **outStrain, NRWaveCatalog *nrCatalog, INT4 modeLlo, INT4 modeLhi, const SimInspiralTable *thisInj)
 Put the main functionalities of nr_wave.c together. More...
 
void LALDriveNRInject (LALStatus *status, REAL4TimeSeries *injData, SimInspiralTable *injections, NumRelInjectParams *params)
 Main driver funtion for doing Numerical Relativity Injections. More...
 

Go to the source code of this file.

Data Structures

struct  NRWaveMetaData
 Struct containing metadata information about a single numerical relativity waveform. More...
 
struct  NRWaveCatalog
 List of numrel waveform metadata. More...
 
struct  NumRelInjectParams
 

Macros

Error codes
#define NRWAVEIO_ENULL   1
 Null pointer. More...
 
#define NRWAVEIO_EFILE   2
 Error in file-IO. More...
 
#define NRWAVEIO_ENONULL   3
 Not a Null pointer. More...
 
#define NRWAVEIO_ENOMEM   4
 Memory ellocation error. More...
 
#define NRWAVEIO_EVAL   5
 Invalid value. More...
 
#define NRWAVEIO_EFORMAT   6
 Meta data file format incorrect. More...