29 #ifndef COORDINATES_OBSINFO_H
30 #define COORDINATES_OBSINFO_H
A 1-D Specialization of the Array class.
A Measure: position on Earth.
Bool fromFITS(Vector< String > &error, const RecordInterface &inRecord)
static MVDirection defaultPointingCenter()
static Vector< String > keywordNamesFITS()
It might be useful to know what FITS keyword names are used in to/from FITS so we can remove them so ...
static String defaultTelescope()
In some circumstances it might be useful to know what the defaults for the various values are so you ...
Bool isTelescopePositionSet() const
ObsInfo & setPointingCenter(const MVDirection &direction)
ObsInfo & operator=(const ObsInfo &other)
ostream & operator<<(ostream &os, const std::pair< T, U > &p)
A Measure: instant in time.
ObsInfo & setObserver(const String &observer)
Store miscellaneous information related to an observation.
Bool isPointingCenterInitial() const
Because the default pointing center is a valid value (0,0), this function is available to tell you wh...
virtual Bool fromRecord(String &error, const RecordInterface &inRecord)
Initialise the class from a Record representation.
MEpoch obsDate() const
When was the observation taken (start time)? This is somewhat problematical for observations which ar...
static MEpoch defaultObsDate()
bool Bool
Define the standard types used by Casacore.
String telescopePositionString() const
static String defaultObserver()
String observer() const
The name (or initials) of the observer.
ObsInfo()
Default constructor makes an object where all the parameters are set to their default values (see bel...
const MPosition & telescopePosition() const
String: the storage and methods of handling collections of characters.
MVDirection pointingCenter_p
Vector of three direction cosines.
Bool isPointingCenterInitial_p
String telescope() const
Telescope identifier.
Abstract base class for Record classes.
ObsInfo & setTelescopePosition(const MPosition &)
void copy_other(const ObsInfo &other)
False after setPointingCenter called.
ObsInfo & setObsDate(const MEpoch &obsDate)
Bool toFITS(String &error, RecordInterface &outRecord) const
Functions to interconvert between an ObsInfo and FITS keywords (converted to a Record).
virtual Bool toRecord(String &error, RecordInterface &outRecord) const
Functions to interconvert between an ObsInfo and a record.
ObsInfo & setTelescope(const String &telescope)
MVDirection pointingCenter() const
What was the pointing centre, as distinct from the phase centre ? This value is specified as an MVDir...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.