casa
$Rev:20696$
|
ATNF CFITSIO interface class for SDFITS output. More...
#include <SDFITSwriter.h>
Public Member Functions | |
SDFITSwriter () | |
Default constructor. | |
virtual | ~SDFITSwriter () |
Destructor. | |
int | create (char *sdname, char *observer, char *project, char *telescope, double antPos[3], char *obsMode, char *bunit, float equinox, char *dopplerFrame, int nIF, int *nChan, int *nPol, int *haveXPol, int haveBase, int extraSysCal) |
Create a new SDFITSwriter and store static data. | |
int | write (MBrecord &record) |
Store time-variable data. | |
int | history (char *text) |
Write a history record. | |
void | close () |
Close the SDFITS file. | |
void | deleteFile () |
Close and delete the SDFITS file. | |
Private Member Functions | |
void | log (LogOrigin origin, LogIO::Command cmd, const char *msg=0x0) |
Private Attributes | |
fitsfile * | cSDptr |
int | cDoTDIM |
int | cDoXPol |
int | cExtraSysCal |
int | cHaveBase |
int * | cHaveXPol |
int | cIsMX |
int * | cNChan |
int | cNIF |
int * | cNPol |
int | cStatus |
long | cRow |
char | cMsg [256] |
Message handling. |
Default constructor.
virtual SDFITSwriter::~SDFITSwriter | ( | ) | [virtual] |
Destructor.
void SDFITSwriter::close | ( | ) |
Close the SDFITS file.
int SDFITSwriter::create | ( | char * | sdname, |
char * | observer, | ||
char * | project, | ||
char * | telescope, | ||
double | antPos[3], | ||
char * | obsMode, | ||
char * | bunit, | ||
float | equinox, | ||
char * | dopplerFrame, | ||
int | nIF, | ||
int * | nChan, | ||
int * | nPol, | ||
int * | haveXPol, | ||
int | haveBase, | ||
int | extraSysCal | ||
) |
Create a new SDFITSwriter and store static data.
void SDFITSwriter::deleteFile | ( | ) |
Close and delete the SDFITS file.
int SDFITSwriter::history | ( | char * | text | ) |
Write a history record.
void SDFITSwriter::log | ( | LogOrigin | origin, |
LogIO::Command | cmd, | ||
const char * | msg = 0x0 |
||
) | [private] |
int SDFITSwriter::write | ( | MBrecord & | record | ) |
Store time-variable data.
int SDFITSwriter::cDoTDIM [private] |
Definition at line 92 of file SDFITSwriter.h.
int SDFITSwriter::cDoXPol [private] |
Definition at line 92 of file SDFITSwriter.h.
int SDFITSwriter::cExtraSysCal [private] |
Definition at line 92 of file SDFITSwriter.h.
int SDFITSwriter::cHaveBase [private] |
Definition at line 92 of file SDFITSwriter.h.
int * SDFITSwriter::cHaveXPol [private] |
Definition at line 92 of file SDFITSwriter.h.
int SDFITSwriter::cIsMX [private] |
Definition at line 92 of file SDFITSwriter.h.
char SDFITSwriter::cMsg[256] [private] |
Message handling.
Definition at line 97 of file SDFITSwriter.h.
int * SDFITSwriter::cNChan [private] |
Definition at line 92 of file SDFITSwriter.h.
int SDFITSwriter::cNIF [private] |
Definition at line 92 of file SDFITSwriter.h.
int * SDFITSwriter::cNPol [private] |
Definition at line 92 of file SDFITSwriter.h.
long SDFITSwriter::cRow [private] |
Definition at line 94 of file SDFITSwriter.h.
fitsfile* SDFITSwriter::cSDptr [private] |
Definition at line 91 of file SDFITSwriter.h.
int SDFITSwriter::cStatus [private] |
Definition at line 92 of file SDFITSwriter.h.