|
Public Types |
| enum | imagetype {
FLOATIMG = -32,
USHORTIMG = 20,
DOUBLEIMG = -64,
BYTEIMG = 8,
SHORTIMG = 16,
LONGIMG = 32
} |
Public Member Functions |
| | iofits () |
| | iofits (const char *infile, int iomode=READONLY) |
| | iofits (const iofits &iof) |
| virtual | ~iofits () |
| iofits & | operator= (const iofits &iof) |
| void | open (const char *infile, int iomode=READONLY) |
| void | close () |
| void | create (const char *infile) |
| string | name () const |
| bool | key_exists (const char *keyname) const |
| void | read_record (int record, string &value) const |
| template<class T> |
| void | read_key (const char *keyname, T &value, string &comment) const |
| template<class T> |
| void | write_key (const char *keyname, const T &value, const string &comment) |
| template<class T> |
| void | update_key (const char *keyname, const T &value, const string &comment) |
| void | delete_key (const char *keyname) |
| | fits_delete_key
|
| void | delete_record (int record) |
| string | read_record (int record) const |
| string | record_head (int record) const |
| string | record_val (int record) const |
| int | get_img_dim () const |
| int | get_status () const |
| vector< long > | get_img_size () const |
| int | movabs_hdu (const int &hdunum) const |
| int | movrel_hdu (const int &hdunum) const |
| int | get_num_hdus () const |
| int | get_hdu_num () const |
| void | create_hdu () |
| void | create_image (const vector< long > &axes, imagetype imgtp) |
| template<class T> |
| void | create_image (const vector< long > &axes, const T *t) |
| template<class T> |
| void | read_image (int first, int last, T *pixframe) const |
| template<class T> |
| void | write_image (int first, int last, const T *pixframe) |
| void | read_image_header (int &bitpix, vector< long > &axes) const |
| void | write_image_header (int bitpix, const vector< long > &axes) |
| void | print_header (ostream &os, const char *prefix="") const |
Static Public Attributes |
| int | verbose_level |
| | A verbose_level for printing messages.
|
Protected Attributes |
| fitsfile * | fp |
| | pointer to the fits file underlying this instance
|
| string | filename |
| | name of the fits file
|
| int | status |
| | mutable status variable used in cfitsio function calls
|