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>
Bool toFITS(String &error, RecordInterface &outRecord) const
Functions to interconvert between an ObsInfo and FITS keywords (converted to a Record).
Bool fromFITS(Vector< String > &error, const RecordInterface &inRecord)
static MEpoch defaultObsDate()
Bool isPointingCenterInitial() const
Because the default pointing center is a valid value (0,0), this function is available to tell you wh...
Bool isPointingCenterInitial_p
String telescope() const
Telescope identifier.
static String defaultTelescope()
In some circumstances it might be useful to know what the defaults for the various values are so you ...
virtual Bool fromRecord(String &error, const RecordInterface &inRecord)
Initialise the class from a Record representation.
ObsInfo & setTelescope(const String &telescope)
ObsInfo()
Default constructor makes an object where all the parameters are set to their default values (see bel...
const MPosition & telescopePosition() const
ObsInfo & setObserver(const String &observer)
ObsInfo & operator=(const ObsInfo &other)
String telescopePositionString() const
Bool isTelescopePositionSet() const
static String defaultObserver()
static MVDirection defaultPointingCenter()
ObsInfo & setObsDate(const MEpoch &obsDate)
void copy_other(const ObsInfo &other)
False after setPointingCenter called.
ObsInfo & setTelescopePosition(const MPosition &)
MVDirection pointingCenter_p
virtual Bool toRecord(String &error, RecordInterface &outRecord) const
Functions to interconvert between an ObsInfo and a record.
MVDirection pointingCenter() const
What was the pointing centre, as distinct from the phase centre ? This value is specified as an MVDir...
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 ...
MEpoch obsDate() const
When was the observation taken (start time)? This is somewhat problematical for observations which ar...
String observer() const
The name (or initials) of the observer.
ObsInfo & setPointingCenter(const MVDirection &direction)
ObsInfo(const ObsInfo &other)
Copy all fields from "other" to this object.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.