geirs2Panic  Richard J. Mathar
Fits header keyword batch editor
 All Classes Files Functions Variables Macros Pages
GeirsPanic.h
Go to the documentation of this file.
1 #ifndef GEIRSPANIC_H
2 #define GEIRSPANIC_H
3 /*
4 * MPIA - GEIRS project
5 *
6 * "@(#) $Id$"
7 *
8 */
9 
10 #include <string>
11 #include <vector>
12 
16 #include <CCfits/CCfits>
17 
18 #include "WindowSet.h"
19 
20 using namespace std ;
21 using namespace CCfits ;
22 
27 class GeirsPanic {
28 
29 public:
32  string iname ;
33 
36  string oname ;
37 
41 
42  GeirsPanic(char *fitsInname, const char *fitsOutname, int gap, int chpsz) ;
43 #if 0
44  ~GeirsPanic() ;
45 #endif
46 
47  void exec(bool doTrim, bool doMimax, double north , bool doflip, bool doaltaz, bool doGeo, bool verbose, bool remov) ;
48 
49  static void wgs84(const double lolatlat[3], double xyz[3]) ;
50 
51  static void altAzPar(double ha, double dec, double phi, double aap[3]) ;
52 
53  static double hex2deg(const string & hexstr, bool isdeg) ;
54 
55 protected:
56 #if 0
57 
59  FITS * ifits ;
60 #endif
61 
64  FITS * ofits ;
65 
66 private:
67 
68 } ; /* GeirsPanic */
69 
70 #endif /* GEIRSPANIC_H */
FITS * ofits
The FITS file that will be created.
Definition: GeirsPanic.h:64
string oname
Name of the output file.
Definition: GeirsPanic.h:36
string iname
Name of the input file.
Definition: GeirsPanic.h:32
Definition: GeirsPanic.h:27
Definition: WindowSet.h:27
WindowSet ws
The set of subwindows.
Definition: GeirsPanic.h:40