24 #ifndef LSST_AFW_IMAGE_VISITINFO_H_INCLUDED 25 #define LSST_AFW_IMAGE_VISITINFO_H_INCLUDED 30 #include "lsst/base.h" 31 #include "lsst/daf/base.h" 96 : _exposureId(exposureId),
97 _exposureTime(exposureTime),
102 _boresightRaDec(boresightRaDec),
103 _boresightAzAlt(boresightAzAlt),
104 _boresightAirmass(boresightAirmass),
105 _boresightRotAngle(boresightRotAngle),
132 daf::base::DateTime
getDate()
const {
return _date; }
178 virtual std::string getPersistenceName()
const;
184 double _exposureTime;
186 daf::base::DateTime _date;
191 double _boresightAirmass;
222 #endif // !LSST_AFW_IMAGE_VISITINFO_H_INCLUDED std::int64_t RecordId
Type used for unique IDs for records.
double getBoresightAirmass() const
get airmass at the boresight, relative to zenith at sea level (and at the middle of the exposure...
table::Key< double > exposureTime
table::Key< table::RecordId > exposureId
table::Key< double > darkTime
coord::Coord getBoresightAzAlt() const
get refracted apparent topocentric Az/Alt position at the boresight (and at the middle of the exposur...
An object passed to Persistable::write to allow it to persist itself.
bool isPersistable() const
Return true if this particular object can be persisted using afw::table::io.
table::CoordKey boresightRaDec
Hold the location of an observatory.
Information about a single exposure of an imaging camera.
double getUt1() const
get UT1 (universal time) MJD date at middle of exposure
bool operator==(CoordKey const &lhs, CoordKey const &rhs)
Compare CoordKeys for equality using the constituent Keys.
double getDarkTime() const
get time from CCD flush to exposure readout, including shutter open time (despite the name); (sec) ...
lsst::daf::base::PropertyList PropertyList
Rotation angle is unknown.
A base class for objects that can be persisted via afw::table::io Archive classes.
lsst::daf::base::PropertySet PropertySet
void setVisitInfoMetadata(daf::base::PropertyList &metadata, VisitInfo const &visitInfo)
Set FITS metadata from a VisitInfo.
A class representing an angle.
A base class for image defects.
table::RecordId getExposureId() const
get exposure ID
bool operator!=(VisitInfo const &other) const
table::Key< double > boresightAirmass
double getExposureTime() const
get exposure duration (shutter open time); (sec)
coord::IcrsCoord getBoresightRaDec() const
get ICRS RA/Dec position at the boresight (and at the middle of the exposure, if it varies with time)...
RotType getRotType() const
get rotation type of boresightRotAngle
Basic weather information sufficient for a simple model for air mass or refraction.
Position angle of focal plane +Y, measured from N through E.
daf::base::DateTime getDate() const
get uniform date and time at middle of exposure
table::Key< int > rotType
geom::Angle getBoresightRotAngle() const
Get rotation angle at boresight at middle of exposure.
VisitInfo(table::RecordId exposureId, double exposureTime, double darkTime, daf::base::DateTime const &date, double ut1, geom::Angle const &era, coord::IcrsCoord const &boresightRaDec, coord::Coord const &boresightAzAlt, double boresightAirmass, geom::Angle const &boresightRotAngle, RotType const &rotType, coord::Observatory const &observatory, coord::Weather const &weather)
Construct a VisitInfo.
int stripVisitInfoKeywords(daf::base::PropertySet &metadata)
Remove VisitInfo-related keywords from the metadata.
Position angle of focal plane +Y, measured from +Alt through +Az.
This is the base class for spherical coordinates.
table::Key< geom::Angle > era
A CRTP facade class for subclasses of Persistable.
coord::Observatory getObservatory() const
get observatory longitude, latitude and elevation
table::Key< geom::Angle > boresightRotAngle
A class to handle Icrs coordinates (inherits from Coord)
coord::Weather getWeather() const
get basic weather information
The position sent to the instrument rotator; the details depend on the rotator.
geom::Angle getEra() const
get earth rotation angle at middle of exposure