GBTGOFile.h

Classes

GBTGOFile -- GBTGOFile serves up the information from a GBT GO FITS file. (full description)

class GBTGOFile : public GBTFITSBase

Interface

Public Members
GBTGOFile()
GBTGOFile(const String &gofile)
~GBTGOFile()
Bool attach(const String &gofile)
const String &file() const
Bool isValid() const
Bool isAttached() const
const String &observer() const
const String &procname() const
const String &proctype() const
Int procseqn() const
Int procsize() const
const String obstype() const
const String &swtchsig() const
const String &swstate() const
Int laston() const
Int lastoff() const
const MDirection &refdir() const
const Double &equinox() const
const MVFrequency &restfrq() const
const MRadialVelocity &velocity() const
const MVFrequency &skyfreq() const
const String &coordsys() const
const String &radesys() const
const Double &majorCoord() const
const Double &minorCoord() const
const Double &velocityKW() const
const String &veldef() const
Bool isDoppler() const
Bool isOtherCoordsys() const
Private Members
void init()
GBTGOFile(const GBTGOFile &other)
GBTGOFile &operator=(const GBTGOFile &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

GBTGOFile()

initialize with default values, no primary keywords

GBTGOFile(const String &gofile)

initialize with the indicated GO file.

~GBTGOFile()

Bool attach(const String &gofile)

attach this object to a new FITS file. If there are problems with the file, the return value is Falso and appropriate warnings are sent to the logger. The resulting object is not attached to any file.

const String &file() const

the file name used at construction or most recent reopen

Bool isValid() const

is this a valid GO file (only consists of a null array PDA with no extensions).

Bool isAttached() const

is this attached to a FITS file

const MDirection &refdir() const

standard fields - these are NOT marked as handled. handleKeyword must be used for that.

reference direction - this includes the RADESYS, RA, DEC and COORDSYS keywords.

const MVFrequency &restfrq() const

standard fields - these are NOT marked as handled. handleKeyword must be used for that.

rest frequency - incorporates RESTFRQ and VELDEF values.

const MRadialVelocity &velocity() const

standard fields - these are NOT marked as handled. handleKeyword must be used for that.

Velocity of line being tracked - incorporates VELOCITY and VELDEF values.

const String &observer() const
const String &procname() const
const String &proctype() const
Int procseqn() const
Int procsize() const
const String obstype() const
const String &swtchsig() const
const String &swstate() const
Int laston() const
Int lastoff() const
const Double &equinox() const

standard fields - these are NOT marked as handled. handleKeyword must be used for that.

const MVFrequency &skyfreq() const

intended sky frequency

const String &coordsys() const
const String &radesys() const
const Double &majorCoord() const
const Double &minorCoord() const
const Double &velocityKW() const
const String &veldef() const

the raw keyword values as found in the GO file

Bool isDoppler() const

Does this have the doppler keywords, otherwise it will have the SKYFREQ keyword

Bool isOtherCoordsys() const

Does this use the OTHER coordinate system? If so, the refdir direction is not useful.

void init()

GBTGOFile(const GBTGOFile &other)

unavailable

GBTGOFile &operator=(const GBTGOFile &other)