LALPulsar 7.1.2.1-bf6a62b
SetupData.h
Go to the documentation of this file.
1//
2// Copyright (C) 2016, 2017 Karl Wette
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 _SETUP_DATA_H
21#define _SETUP_DATA_H
22
23///
24/// \file
25/// \ingroup lalpulsar_bin_Weave
26/// \brief Module which handles the setup data
27///
28
29#include "Weave.h"
30
31#include <lal/LALBarycenter.h>
32#include <lal/Segments.h>
33#include <lal/SuperskyMetrics.h>
34#include <lal/UserInput.h>
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40///
41/// User input choices for for search type
42///
44
45///
46/// Setup data which is computed only once for a given search setup
47///
49 /// Reference time at which search is conducted
51 /// List of detector names for which metrics were computed
53 /// Segment list for which metrics were computed
55 /// Reduced supersky parameter-space metrics
57 /// Ephemeris data over time-span of segments
59 /// Metric type (all-sky or directed)
61};
62
64 WeaveSetupData *setup
65);
68 const WeaveSetupData *setup
69);
72 WeaveSetupData *setup
73);
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif // _SETUP_DATA_H
80
81// Local Variables:
82// c-file-style: "linux"
83// c-basic-offset: 2
84// End:
const UserChoices WeaveMetricTypeChoices
User input choices for for search type.
Definition: SetupData.c:41
void XLALWeaveSetupDataClear(WeaveSetupData *setup)
Free contents of setup data.
Definition: SetupData.c:50
int XLALWeaveSetupDataWrite(FITSFile *file, const WeaveSetupData *setup)
Write setup data to a FITS file.
Definition: SetupData.c:66
int XLALWeaveSetupDataRead(FITSFile *file, WeaveSetupData *setup)
Read setup data from a FITS file.
Definition: SetupData.c:105
struct tagFITSFile FITSFile
Representation of a FITS file.
Definition: FITSFileIO.h:54
char CHAR
This structure contains all information about the center-of-mass positions of the Earth and Sun,...
Computed supersky metrics, returned by XLALComputeSuperskyMetrics().
Setup data which is computed only once for a given search setup.
Definition: SetupData.h:48
SuperskyMetrics * metrics
Reduced supersky parameter-space metrics.
Definition: SetupData.h:56
CHAR * metric_type
Metric type (all-sky or directed)
Definition: SetupData.h:60
LALSegList * segments
Segment list for which metrics were computed.
Definition: SetupData.h:54
LIGOTimeGPS ref_time
Reference time at which search is conducted.
Definition: SetupData.h:50
LALStringVector * detectors
List of detector names for which metrics were computed.
Definition: SetupData.h:52
EphemerisData * ephemerides
Ephemeris data over time-span of segments.
Definition: SetupData.h:58