20 #ifndef _COHERENTESTIMATION_H
21 #define _COHERENTESTIMATION_H
23 #include <lal/LALStdlib.h>
24 #include <lal/DetectorSite.h>
25 #include <lal/SkyCoordinates.h>
26 #include <lal/IIRFilter.h>
28 #if defined(__cplusplus)
34 #define COHERENTESTIMATIONH_EMEM 1
35 #define COHERENTESTIMATIONH_ENULL 2
36 #define COHERENTESTIMATIONH_E0DEC 3
37 #define COHERENTESTIMATIONH_EDST 4
38 #define COHERENTESTIMATIONH_EICE 5
39 #define COHERENTESTIMATIONH_ENUM 6
40 #define COHERENTESTIMATIONH_EUIMP 7
42 #define COHERENTESTIMATIONH_MSGEMEM "Memory allocation error"
43 #define COHERENTESTIMATIONH_MSGENULL "NULL pointer"
44 #define COHERENTESTIMATIONH_MSGE0DEC "invalid DetectorsData structure"
45 #define COHERENTESTIMATIONH_MSGEDST "input time series don't all have same start time"
46 #define COHERENTESTIMATIONH_MSGEICE "invalid CoherentEstimation structure"
47 #define COHERENTESTIMATIONH_MSGENUM "Numerical erorr"
48 #define COHERENTESTIMATIONH_MSGEUIMP "Implemented only for 3 detectors"
50 typedef struct tagDetectorsData {
58 typedef struct tagCoherentEstimation {
102 #elif defined(__cplusplus)
void LALClearCoherentInfo(LALStatus *status, CoherentEstimation *dat)
void LALClearCoherentData(LALStatus *status, DetectorsData *dat)
void LALDoCoherentEstimation(LALStatus *status, REAL4TimeSeries *output, CoherentEstimation *params, DetectorsData *in)
unsigned char BOOLEAN
Boolean logical type, see Headers LAL(Atomic)Datatypes.h for more details.
double REAL8
Double precision real floating-point number (8 bytes).
uint16_t UINT2
Two-byte unsigned integer.
uint32_t UINT4
Four-byte unsigned integer.
REAL8IIRFilter ** filters
LAL status structure, see The LALStatus structure for more details.
Time series of REAL4 data, see DATATYPE-TimeSeries types for more details.
This structure stores the direct and recursive REAL8 filter coefficients, as well as the history of t...
This structure stores the two spherical coordinates of a sky position; ie a generic latitude and long...
void output(int gps_sec, int output_type)