29 #ifndef COORDINATES_OBSINFO_H 30 #define COORDINATES_OBSINFO_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Utilities/RecordTransformable.h> 35 #include <casacore/casa/BasicSL/String.h> 36 #include <casacore/measures/Measures/MEpoch.h> 37 #include <casacore/measures/Measures/MPosition.h> 38 #include <casacore/casa/Quanta/MVDirection.h> 41 #include <casacore/casa/iosfwd.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()
const MPosition & telescopePosition() const
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)
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
virtual Bool toRecord(String &error, RecordInterface &outRecord) const
Functions to interconvert between an ObsInfo and a record.
ObsInfo & operator=(const ObsInfo &other)
A Measure: instant in time.
ObsInfo & setObserver(const String &observer)
MEpoch obsDate() const
When was the observation taken (start time)? This is somewhat problematical for observations which ar...
Store miscellaneous information related to an observation.
String telescopePositionString() const
virtual Bool fromRecord(String &error, const RecordInterface &inRecord)
Initialise the class from a Record representation.
Bool toFITS(String &error, RecordInterface &outRecord) const
Functions to interconvert between an ObsInfo and FITS keywords (converted to a Record).
static MEpoch defaultObsDate()
bool Bool
Define the standard types used by Casacore.
String observer() const
The name (or initials) of the observer.
static String defaultObserver()
MVDirection pointingCenter() const
What was the pointing centre, as distinct from the phase centre ? This value is specified as an MVDir...
ObsInfo()
Default constructor makes an object where all the parameters are set to their default values (see bel...
String: the storage and methods of handling collections of characters.
MVDirection pointingCenter_p
Vector of three direction cosines.
Bool isPointingCenterInitial_p
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)
this file contains all the compiler specific defines
ObsInfo & setTelescope(const String &telescope)
String telescope() const
Telescope identifier.
Bool isPointingCenterInitial() const
Because the default pointing center is a valid value (0,0), this function is available to tell you wh...