#ifndef mioCCFITS_H #define mioCCFITS_H /********************************************************************************* * MPIA - MIDI project * * "@(#) $Id: $" * * who when what * -------- -------- ---------------------------------------------- * mathar 2004-07-10 created by reduction from MIDI's mioCCFITS.h * * NAME * * mioCCFITS.h - * * SYNOPSIS * * DESCRPIPTION * * FILES * * ENVIRONMENT * * EXAMPLES * * SEE ALSO * * NOTES * * TODO * * BUGS * ********************************************************************************/ //#include // #include //#include #include // #include #include //#include "fitsio2.h" #include "mioREGION.h" #include "Station.h" #include "Star.h" // the value used to indicate missing areas of the detector readout (BLANK, TNULL) #define MIO_FITS_DARK_PIXEL 0 using namespace CCfits ; // a CCFits class that knows the MIDI specific binary tables class mioCCFITS : public FITS { public: // Constructor with filename mioCCFITS(const string &fname, RWmode mode = Read) ; // Constructor with copy mioCCFITS(const string & fname, const FITS & source) ; // Conversion of the IMAGING_DETECTOR table into mioREGIONS operator mioREGIONS() ; int ndit() const ; bool isImage() ; // create a FITS cube file void fitscube(string file_out) ; // change the ROTATION column in IMAGING_DATA void rotation() ; private: // return the row width naxi1 of the IMAGING_DATA table (bytes) int naxis1IData() ; // return the row width naxi1 of the IMAGING_DETECTOR table (bytes) int naxis1DData() ; double irot(const double mjd, const Station &stati, const Star &what) const ; double vw2det(double vwang, const bool caseUT) const ; string hduda ; // IMAGING_DATA string hdude ; // IMAGING_DETECTOR } ; #endif // mioCCFITS_H // __oOo__