Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInspiral 5.0.3.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LIGOMetadataInspiralUtils.h
Go to the documentation of this file.
1/*
2* This program is free software; you can redistribute it and/or modify
3* it under the terms of the GNU General Public License as published by
4* the Free Software Foundation; either version 2 of the License, or
5* (at your option) any later version.
6*
7* This program is distributed in the hope that it will be useful,
8* but WITHOUT ANY WARRANTY; without even the implied warranty of
9* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10* GNU General Public License for more details.
11*
12* You should have received a copy of the GNU General Public License
13* along with with program; see the file COPYING. If not, write to the
14* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
15* MA 02110-1301 USA
16*/
17
18#ifndef _LIGOMETADATAINSPIRALUTILS_H
19#define _LIGOMETADATAINSPIRALUTILS_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include <lal/LALAtomicDatatypes.h>
26#include <lal/LALDatatypes.h>
27#include <lal/LALDetectors.h>
28#include <lal/LIGOMetadataTables.h>
29#include <lal/GeneratePPNInspiral.h>
30#include <lal/Random.h>
31#include <lal/SkyCoordinates.h>
32
33/**
34 * \defgroup LIGOMetadataInspiralUtils_h Header LIGOMetadataInspiralUtils.h
35 * \ingroup lalinspiral_UNCLASSIFIED
36 * \brief unknown
37 */
38/** @{ */
39
40/** @} */ /* end:LIGOMetadataInspiralUtils_h */
41
42/* ---------- inspiral specific functions ---------- */
43
44/* sngl inspiral */
47 SnglInspiralTable *eventHead,
48 int(*comparfunc) (const void *, const void *)
49 );
50
51int
53 const void *a,
54 const void *b
55 );
56
59 SnglInspiralTable *eventList,
60 LIGOTimeGPS *startTime,
61 LIGOTimeGPS *endTime
62 );
63
66 SnglInspiralTable **eventHead,
67 char *ifo
68 );
69
70INT4
73 );
74
77 SnglInspiralTable *eventHead,
78 const char *massCut,
79 REAL4 massRangeLow,
80 REAL4 massRangeHigh,
81 REAL4 mass2RangeLow,
82 REAL4 mass2RangeHigh
83 );
84
85/* sim inspiral */
86
87void
90 SimInspiralTable *output,
93 );
94
95void
98 SimInspiralTable *output
99 );
100
101void
103 SimInspiralTable **head,
104 int (*comparefunc)(const SimInspiralTable * const *,
105 const SimInspiralTable * const *)
106 );
107
108int
110 const SimInspiralTable * const *a,
111 const SimInspiralTable * const *b
112 );
113
114#ifdef __cplusplus
115}
116#endif
117
118#endif /* _LIGOMETADATAINSPIRALUTILS_H */
int LALCompareSnglInspiralByTime(const void *a, const void *b)
SnglInspiralTable * XLALSortSnglInspiral(SnglInspiralTable *eventHead, int(*comparfunc)(const void *, const void *))
void LALGalacticInspiralParamsToSimInspiralTable(LALStatus *status, SimInspiralTable *output, GalacticInspiralParamStruc *input, RandomParams *params)
SnglInspiralTable * XLALTimeCutSingleInspiral(SnglInspiralTable *eventList, LIGOTimeGPS *startTime, LIGOTimeGPS *endTime)
SnglInspiralTable * XLALIfoCutSingleInspiral(SnglInspiralTable **eventHead, char *ifo)
int XLALCompareSimInspiralByGeocentEndTime(const SimInspiralTable *const *a, const SimInspiralTable *const *b)
void LALPopulateSimInspiralSiteInfo(LALStatus *status, SimInspiralTable *output)
void XLALSortSimInspiral(SimInspiralTable **head, int(*comparefunc)(const SimInspiralTable *const *, const SimInspiralTable *const *))
INT4 XLALCountSnglInspiral(SnglInspiralTable *head)
SnglInspiralTable * XLALMassCut(SnglInspiralTable *eventHead, const char *massCut, REAL4 massRangeLow, REAL4 massRangeHigh, REAL4 mass2RangeLow, REAL4 mass2RangeHigh)
int32_t INT4
float REAL4
static const INT4 a
This structure stores the position and mass parameters of a galactic inspiral event.