Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LALSimInspiralInjection.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2023 Jolien Creighton
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20#ifndef _LALSIMINSPIRALINJECTION_H
21#define _LALSIMINSPIRALINJECTION_H
22
23#include <stddef.h>
24#include <lal/LALDatatypes.h>
25#include <lal/LALDetectors.h>
26#include <lal/LALDict.h>
27#include <lal/LALDictSequence.h>
28
29#ifdef __cplusplus
30extern "C" {
31#elif 0
32} /* so that editors will match preceding brace */
33#endif
34
35LALDictSequence * XLALSimInspiralInjectionSequenceFromH5File(const char *fname);
36int XLALSimInspiralInjectionSequenceToH5File(const LALDictSequence *injseq, const char *fname);
37
40
41int XLALSimInspiralInjectionSequenceIsEndTimeOrdered(LALDictSequence *injseq);
43int XLALSimInspiralInjectionSequenceOrderByEndTime(LALDictSequence *injseq);
44int XLALSimInspiralInjectionSequenceOrderByStartTime(LALDictSequence *injseq);
45LALDictSequence * XLALSimInspiralInjectionSequenceInInterval(const LALDictSequence *injseq, const LIGOTimeGPS *start, const LIGOTimeGPS *end);
46
47int XLALSimInspiralInjectionTDWaveform(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, LALDict *injparams, REAL8 deltaT);
48
50
51#if 0
52{ /* so that editors will match succeeding brace */
53#elif defined(__cplusplus)
54}
55#endif
56#endif /* _LALSIMINSPIRALINJECTION_H */
LIGOTimeGPS * XLALSimInspiralInjectionEndTime(LIGOTimeGPS *epoch, LALDict *injparams)
LALDictSequence * XLALSimInspiralInjectionSequenceFromH5File(const char *fname)
int XLALSimInspiralInjectionSequenceToH5File(const LALDictSequence *injseq, const char *fname)
int XLALSimInspiralInjectionTDWaveform(REAL8TimeSeries **hplus, REAL8TimeSeries **hcross, LALDict *injparams, REAL8 deltaT)
int XLALSimInspiralInjectionSequenceIsStartTimeOrdered(LALDictSequence *injseq)
int XLALSimInspiralInjectionSequenceOrderByStartTime(LALDictSequence *injseq)
LIGOTimeGPS * XLALSimInspiralInjectionStartTime(LIGOTimeGPS *epoch, LALDict *injparams)
LALDictSequence * XLALSimInspiralInjectionSequenceInInterval(const LALDictSequence *injseq, const LIGOTimeGPS *start, const LIGOTimeGPS *end)
int XLALSimInspiralInjectionSequenceOrderByEndTime(LALDictSequence *injseq)
REAL8TimeSeries * XLALSimInspiralInjectionStrain(LALDict *injparams, REAL8 deltaT, const LALDetector *detector)
int XLALSimInspiralInjectionSequenceIsEndTimeOrdered(LALDictSequence *injseq)
const char * detector
double REAL8
LIGOTimeGPS epoch
Definition: unicorn.c:20
double deltaT
Definition: unicorn.c:24