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