casa
$Rev:20696$
|
Primary Table structure. More...
#include <hdu.h>
Public Types | |
typedef TYPE | ElementType |
Public Member Functions | |
PrimaryTable (FitsInput &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
PrimaryTable (FitsKeywordList &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
PrimaryTable (FITSErrorHandler errhandler=FITSError::defaultHandler) | |
constructor for header consisted required keywords only | |
~PrimaryTable () | |
int | write_priTable_hdr (FitsOutput &fout, int bitpix, int naxis, long *naxes) |
write required keywords for PrimaryTable | |
int | read () |
The `read()' and `write()' functions control reading and writing data from the external FITS I/O medium into the FITS array. | |
int | write (FitsOutput &) |
char * | object () const |
char * | telescop () const |
char * | instrume () const |
char * | dateobs () const |
char * | datemap () const |
char * | bunit () const |
float | bscal () const |
float | bzero () const |
float | equinox () const |
float | altrpix () const |
Protected Attributes | |
char * | object_x |
char * | telescop_x |
char * | instrume_x |
char * | dateobs_x |
char * | datemap_x |
Float | bscale_x |
Float | bzero_x |
char * | bunit_x |
Float | equinox_x |
Float | altrpix_x |
Private Member Functions | |
void | pt_assign () |
Primary Table structure.
typedef TYPE casa::PrimaryTable< TYPE >::ElementType |
Reimplemented from casa::PrimaryArray< TYPE >.
casa::PrimaryTable< TYPE >::PrimaryTable | ( | FitsInput & | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) |
casa::PrimaryTable< TYPE >::PrimaryTable | ( | FitsKeywordList & | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) |
casa::PrimaryTable< TYPE >::PrimaryTable | ( | FITSErrorHandler | errhandler = FITSError::defaultHandler | ) |
constructor for header consisted required keywords only
casa::PrimaryTable< TYPE >::~PrimaryTable | ( | ) |
float casa::PrimaryTable< TYPE >::altrpix | ( | ) | const [inline] |
float casa::PrimaryTable< TYPE >::bscal | ( | ) | const [inline] |
char* casa::PrimaryTable< TYPE >::bunit | ( | ) | const [inline] |
Reimplemented from casa::PrimaryArray< TYPE >.
float casa::PrimaryTable< TYPE >::bzero | ( | ) | const [inline] |
Reimplemented from casa::PrimaryArray< TYPE >.
char* casa::PrimaryTable< TYPE >::datemap | ( | ) | const [inline] |
char* casa::PrimaryTable< TYPE >::dateobs | ( | ) | const [inline] |
float casa::PrimaryTable< TYPE >::equinox | ( | ) | const [inline] |
char* casa::PrimaryTable< TYPE >::instrume | ( | ) | const [inline] |
char* casa::PrimaryTable< TYPE >::object | ( | ) | const [inline] |
void casa::PrimaryTable< TYPE >::pt_assign | ( | ) | [private] |
int casa::PrimaryTable< TYPE >::read | ( | ) | [virtual] |
The `read()' and `write()' functions control reading and writing data from the external FITS I/O medium into the FITS array.
Appropriate conversions are made between FITS and local data representations. One can read the entire array into memory, or one can only read portions of the array. In the latter case, one must specify that the next N elements are to be read or written. Note that the number of elements must be specified, NOT the number of bytes. If one reads portions of the array, as opposed to the entire array, only that portion is in memory at a given time. One can still access the elements of the array via the `()' and `data()' functions, as if the entire array was in memory; obviously care must be taken in this case to access only those portions that are actually in memory.
Reimplemented from casa::PrimaryArray< TYPE >.
Referenced by casa::MSPrimaryTableHolder::read().
char* casa::PrimaryTable< TYPE >::telescop | ( | ) | const [inline] |
int casa::PrimaryTable< TYPE >::write | ( | FitsOutput & | ) | [inline, virtual] |
Reimplemented from casa::PrimaryArray< TYPE >.
int casa::PrimaryTable< TYPE >::write_priTable_hdr | ( | FitsOutput & | fout, |
int | bitpix, | ||
int | naxis, | ||
long * | naxes | ||
) |
write required keywords for PrimaryTable
Float casa::PrimaryTable< TYPE >::altrpix_x [protected] |
Definition at line 746 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::altrpix().
Float casa::PrimaryTable< TYPE >::bscale_x [protected] |
Reimplemented from casa::PrimaryArray< TYPE >.
Definition at line 742 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::bscal().
char* casa::PrimaryTable< TYPE >::bunit_x [protected] |
Reimplemented from casa::PrimaryArray< TYPE >.
Definition at line 744 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::bunit().
Float casa::PrimaryTable< TYPE >::bzero_x [protected] |
Reimplemented from casa::PrimaryArray< TYPE >.
Definition at line 743 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::bzero().
char* casa::PrimaryTable< TYPE >::datemap_x [protected] |
Definition at line 741 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::datemap().
char* casa::PrimaryTable< TYPE >::dateobs_x [protected] |
Definition at line 740 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::dateobs().
Float casa::PrimaryTable< TYPE >::equinox_x [protected] |
Definition at line 745 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::equinox().
char* casa::PrimaryTable< TYPE >::instrume_x [protected] |
Definition at line 739 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::instrume().
char* casa::PrimaryTable< TYPE >::object_x [protected] |
Definition at line 737 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::object().
char* casa::PrimaryTable< TYPE >::telescop_x [protected] |
Definition at line 738 of file hdu.h.
Referenced by casa::PrimaryTable< Short >::telescop().