22 using namespace hippodraw;
62 assert ( i < 3 && i >= 0 );
89 if ( bitpix < 5 && bitpix >= 0 ) {
90 type = table [ bitpix ];
125 fits_movabs_hdu (
m_fptr, hdunum + 1,
135 char * extname = const_cast <
char * > ( name.c_str() );
137 fits_movnam_hdu (
m_fptr, ANY_HDU, extname, 0, &m_status );
149 fits_get_hdu_num (
m_fptr, &number );
156 int keyexist, morekeys;
168 fits_read_key(
m_fptr, TDOUBLE,
169 const_cast<char *>(key), &value, 0, &
m_status );
177 char value [ FLEN_VALUE ];
179 fits_read_keyword (
m_fptr, const_cast < char * > ( key ),
191 fits_read_key(
m_fptr, TINT,
192 const_cast<char *>(key), &value, 0, &
m_status );
201 char value [ FLEN_VALUE ];
203 fits_read_key (
m_fptr, TSTRING,
204 const_cast<char *>(key), &value, 0, &
m_status );
206 return string ( value );
226 if ( hdutype == IMAGE_HDU ) {