GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GSPITools.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  * GSPITools.hpp - INTEGRAL/SPI tools *
3  * ----------------------------------------------------------------------- *
4  * copyright (C) 2020 by Juergen Knoedlseder *
5  * ----------------------------------------------------------------------- *
6  * *
7  * This program is free software: you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation, either version 3 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This program is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
19  * *
20  ***************************************************************************/
21 /**
22  * @file GSPITools.hpp
23  * @brief Definition of INTEGRAL/SPI tools
24  * @author Juergen Knoedlseder
25  */
26 
27 #ifndef GSPITOOLS_HPP
28 #define GSPITOOLS_HPP
29 
30 /* __ Includes ___________________________________________________________ */
31 #include <string>
32 #include <vector>
33 #include "GTime.hpp"
34 #include "GTimes.hpp"
35 
36 /* __ Namespaces _________________________________________________________ */
37 
38 /* __ Constants __________________________________________________________ */
39 
40 /* __ Forward declarations _______________________________________________ */
41 class GFits;
42 class GFitsTable;
43 
44 /* __ Prototypes _________________________________________________________ */
45 namespace gammalib {
46  const GFitsTable* spi_hdu(const GFits& fits,
47  const std::string& extname,
48  const int& extver = 1);
49  int spi_num_hdus(const GFits& fits,
50  const std::string& extname);
51  GTime spi_ijd2time(const double& ijd);
54 }
55 
56 #endif /* GSPITOOLS_HPP */
GTimes spi_gedfail_times(void)
Return times of detector failures.
Definition: GSPITools.cpp:301
Time class.
Definition: GTime.hpp:55
Time container class definition.
FITS file class.
Definition: GFits.hpp:63
int spi_num_hdus(const GFits &fits, const std::string &extname)
Return number of HDU versions.
Definition: GSPITools.cpp:166
GTimes spi_annealing_start_times(void)
Return start time of annealing operations.
Definition: GSPITools.cpp:248
Time container class.
Definition: GTimes.hpp:45
GTime spi_ijd2time(const double &ijd)
Convert IJD to GTime.
Definition: GSPITools.cpp:225
const GFitsTable * spi_hdu(const GFits &fits, const std::string &extname, const int &extver=1)
Return FITS table.
Definition: GSPITools.cpp:57
Abstract interface for FITS table.
Definition: GFitsTable.hpp:44
Time class interface definition.