LAL  7.5.0.1-b72065a
ReadFTSeries.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2007 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 _READFTSERIES_H
21 #define _READFTSERIES_H
22 
23 #include <lal/LALStdlib.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 /**
30  * \defgroup ReadFTSeries_h Header ReadFTSeries.h
31  * \ingroup lal_support
32  * \author Torres, C. W.
33  *
34  * \brief This is a simple utility to Read time and frequency series into a file.
35  *
36  * ### Synopsis ###
37  *
38  * \code
39  * #include <lal/ReadFTSeries.h>
40  * \endcode
41  *
42  * Provides prototype information for the routines in \ref ReadTimeSeries_c and \ref ReadFrequencySeries_c.
43  */
44 /** @{ */
45 
46 /**\name Error Codes */ /** @{ */
47 #define READFTSERIESH_EFILENOTFOUND 1 /**< Invalid Filename or File Not Found */
48 #define READFTSERIESH_EPARSE 2 /**< Error Parsing File */
49 /** @} */
50 /** \cond DONT_DOXYGEN */
51 #define READFTSERIESH_MSGEFILENOTFOUND "Invalid Filename or File Not Found"
52 #define READFTSERIESH_MSGEPARSE "Error Parsing File"
53 /** \endcond */
54 
55 
56 #ifndef SWIG /* exclude from SWIG interface */
57 /** \cond DONT_DOXYGEN */
58 enum enumLALSupportUnitTextSize {
59  LALSupportUnitTextSize = sizeof("10^-32768 m^-32768/32767 "
60  "kg^-32768/32767 "
61  "s^-32768/32767 A^-32768/32767 "
62  "K^-32768/32767 strain^-32768/32767 "
63  "count^-32768/32767")
64 };
65 enum enumMaxLineLength {
66  MaxLineLength = LALSupportUnitTextSize + sizeof("Units are ()\n")
67 };
68 /** \endcond */
69 #endif /* SWIG */
70 
71 /** @} */
72 
73 
74 /**
75  * \defgroup ReadTimeSeries_c Module ReadTimeSeries.c
76  * \ingroup ReadFTSeries_h
77  * \author Torres, C. V.
78  *
79  * \brief Each member of this family of functions reads from a file the output of the corresponding \c PrintTimeSeries routine.
80  *
81  * ### Notes ###
82  *
83  * These functions perform I/O operations, which are not a part of LAL
84  * proper They should only be used for debugging purposes in test
85  * functions, not in any production code.
86  */
87 /** @{ */
93 /** @} */
94 
95 /**
96  * \defgroup ReadFrequencySeries_c Module ReadFrequencySeries.c
97  * \ingroup ReadFTSeries_h
98  * \author Torres, C. V.
99  *
100  * \brief Each member of this family of functions reads from a file the output of the corresponding \c PrintFrequencySeries routine.
101  *
102  * ### Notes ###
103  *
104  * These functions perform I/O operations, which are not a part of LAL
105  * proper. They should only be used for debugging purposes in test
106  * functions, not in any production code.
107  */
108 /** @{ */
114 /** @} */
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif /* _READSERIES_H */
char CHAR
One-byte signed integer, see Headers LAL(Atomic)Datatypes.h for more details.
void LALReadFrequencySeries(LALStatus *status, REAL4FrequencySeries *series, const CHAR *filename)
void LALDReadFrequencySeries(LALStatus *status, REAL8FrequencySeries *series, const CHAR *filename)
void LALSReadFrequencySeries(LALStatus *status, REAL4FrequencySeries *series, const CHAR *filename)
void LALCReadFrequencySeries(LALStatus *status, COMPLEX8FrequencySeries *series, const CHAR *filename)
void LALZReadFrequencySeries(LALStatus *status, COMPLEX16FrequencySeries *series, const CHAR *filename)
void LALSReadTimeSeries(LALStatus *status, REAL4TimeSeries *series, const CHAR *filename)
void LALZReadTimeSeries(LALStatus *status, COMPLEX16TimeSeries *series, const CHAR *filename)
void LALDReadTimeSeries(LALStatus *status, REAL8TimeSeries *series, const CHAR *filename)
void LALReadTimeSeries(LALStatus *status, REAL4TimeSeries *series, const CHAR *filename)
void LALCReadTimeSeries(LALStatus *status, COMPLEX8TimeSeries *series, const CHAR *filename)
See DATATYPE-FrequencySeries types for documentation.
Definition: LALDatatypes.h:909
Time series of COMPLEX16 data, see DATATYPE-TimeSeries types for more details.
Definition: LALDatatypes.h:600
See DATATYPE-FrequencySeries types for documentation.
Definition: LALDatatypes.h:899
Time series of COMPLEX8 data, see DATATYPE-TimeSeries types for more details.
Definition: LALDatatypes.h:590
LAL status structure, see The LALStatus structure for more details.
Definition: LALDatatypes.h:947
See DATATYPE-FrequencySeries types for documentation.
Definition: LALDatatypes.h:879
Time series of REAL4 data, see DATATYPE-TimeSeries types for more details.
Definition: LALDatatypes.h:570
See DATATYPE-FrequencySeries types for documentation.
Definition: LALDatatypes.h:889
Time series of REAL8 data, see DATATYPE-TimeSeries types for more details.
Definition: LALDatatypes.h:580