29#include <lal/LALStdlib.h>
30#include <lal/LALConstants.h>
31#include <lal/AVFactories.h>
32#include <lal/SeqFactories.h>
33#include <lal/ConfigFile.h>
34#include <lal/LALStdlib.h>
35#include <lal/LALError.h>
36#include <lal/LALStdio.h>
37#include <lal/FileIO.h>
38#include <lal/StreamInput.h>
39#include <lal/LIGOMetadataTables.h>
58#define NRWAVEIO_ENULL 1
59#define NRWAVEIO_EFILE 2
60#define NRWAVEIO_ENONULL 3
61#define NRWAVEIO_ENOMEM 4
62#define NRWAVEIO_EVAL 5
63#define NRWAVEIO_EFORMAT 6
67#define NRWAVEIO_MSGENULL "Null pointer"
68#define NRWAVEIO_MSGEFILE "Error in file-IO"
69#define NRWAVEIO_MSGENONULL "Not a Null pointer"
70#define NRWAVEIO_MSGENOMEM "Memory ellocation error"
71#define NRWAVEIO_MSGEVAL "Invalid value"
72#define NRWAVEIO_MSGEFORMAT "Meta data file format incorrect"
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 ...
void LALGetSingleNRMetaData(LALStatus *status, NRWaveMetaData *data, const CHAR *dir, const CHAR *cfgstr)
Parse a single string to fill the NRWaveMetaData structure.
void LALDriveNRInject(LALStatus *status, REAL4TimeSeries *injData, SimInspiralTable *injections, NumRelInjectParams *params)
Main driver funtion for doing Numerical Relativity Injections.
void LALNRDataFind(LALStatus *status, NRWaveCatalog *out, const CHAR *dir, const CHAR *filename)
Function for reading a numerical relativity metadata file.
void LALReadNRWave_raw_real8(LALStatus *status, REAL8TimeVectorSeries **out, const CHAR *filename)
void LALAddStrainModes(LALStatus *status, REAL4TimeVectorSeries **outStrain, NRWaveCatalog *nrCatalog, INT4 modeLlo, INT4 modeLhi, const SimInspiralTable *thisInj)
Put the main functionalities of nr_wave.c together.
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...
List of numrel waveform metadata.
NRWaveMetaData * data
List of waveforms.
UINT4 length
Number of waveforms.
NRWaveCatalog * nrCatalog