26#ifndef COORDINATES_OBSINFO_H
27#define COORDINATES_OBSINFO_H
29#include <casacore/casa/aips.h>
30#include <casacore/casa/Utilities/RecordTransformable.h>
32#include <casacore/casa/BasicSL/String.h>
33#include <casacore/measures/Measures/MEpoch.h>
34#include <casacore/measures/Measures/MPosition.h>
35#include <casacore/casa/Quanta/MVDirection.h>
38#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...
ObsInfo & setObserver(const String &observer)
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()
Default constructor makes an object where all the parameters are set to their default values (see bel...
ObsInfo & setPointingCenter(const MVDirection &direction)
ObsInfo & setObsDate(const MEpoch &obsDate)
String telescopePositionString() const
Bool isTelescopePositionSet() const
static String defaultObserver()
static MVDirection defaultPointingCenter()
void copy_other(const ObsInfo &other)
False after setPointingCenter called.
ObsInfo & operator=(const ObsInfo &other)
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...
ObsInfo & setTelescope(const String &telescope)
MEpoch obsDate() const
When was the observation taken (start time)? This is somewhat problematical for observations which ar...
ObsInfo & setTelescopePosition(const MPosition &)
String observer() const
The name (or initials) of the observer.
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(const ObsInfo &other)
Copy all fields from "other" to this object.
const MPosition & telescopePosition() const
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.
bool Bool
Define the standard types used by Casacore.