24 #ifndef LSST_AFW_IMAGE_VISITINFO_H_INCLUDED 25 #define LSST_AFW_IMAGE_VISITINFO_H_INCLUDED 94 : _exposureId(exposureId),
95 _exposureTime(exposureTime),
100 _boresightRaDec(boresightRaDec),
101 _boresightAzAlt(boresightAzAlt),
102 _boresightAirmass(boresightAirmass),
103 _boresightRotAngle(boresightRotAngle),
105 _observatory(observatory),
196 double _exposureTime;
203 double _boresightAirmass;
245 #endif // !LSST_AFW_IMAGE_VISITINFO_H_INCLUDED double getBoresightAirmass() const
get airmass at the boresight, relative to zenith at sea level (and at the middle of the exposure...
lsst::geom::SpherePoint getBoresightAzAlt() const
get refracted apparent topocentric Az/Alt position at the boresight (and at the middle of the exposur...
table::Key< double > exposureTime
size_t operator()(argument_type const &obj) const noexcept
table::Key< table::RecordId > exposureId
table::Key< double > darkTime
std::ostream & operator<<(std::ostream &os, Measurement const &measurement)
VisitInfo(table::RecordId exposureId, double exposureTime, double darkTime, daf::base::DateTime const &date, double ut1, lsst::geom::Angle const &era, lsst::geom::SpherePoint const &boresightRaDec, lsst::geom::SpherePoint const &boresightAzAlt, double boresightAirmass, lsst::geom::Angle const &boresightRotAngle, RotType const &rotType, coord::Observatory const &observatory, coord::Weather const &weather)
Construct a VisitInfo.
An object passed to Persistable::write to allow it to persist itself.
table::CoordKey boresightRaDec
Hold the location of an observatory.
Information about a single exposure of an imaging camera.
lsst::geom::SpherePoint getBoresightRaDec() const
get ICRS RA/Dec position at the boresight (and at the middle of the exposure, if it varies with time)...
double getUt1() const
get UT1 (universal time) MJD date at middle of exposure
double getDarkTime() const
get time from CCD flush to exposure readout, including shutter open time (despite the name); (sec) ...
ItemVariant const * other
std::size_t hash_value(Extent< T, N > const &extent) noexcept
bool isPersistable() const noexcept override
Return true if this particular object can be persisted using afw::table::io.
Rotation angle is unknown.
A base class for objects that can be persisted via afw::table::io Archive classes.
void setVisitInfoMetadata(daf::base::PropertyList &metadata, VisitInfo const &visitInfo)
Set FITS metadata from a VisitInfo.
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)
table::Key< lsst::geom::Angle > era
RotType getRotType() const
get rotation type of boresightRotAngle
Basic weather information sufficient for a simple model for air mass or refraction.
lsst::geom::Angle getEra() const
get earth rotation angle at middle of exposure
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
int stripVisitInfoKeywords(daf::base::PropertySet &metadata)
Remove VisitInfo-related keywords from the metadata.
Position angle of focal plane +Y, measured from +Alt through +Az.
lsst::geom::Angle getBoresightRotAngle() const
Get rotation angle at boresight at middle of exposure.
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
A CRTP facade class for subclasses of Persistable.
coord::Observatory getObservatory() const
get observatory longitude, latitude and elevation
coord::Weather getWeather() const
get basic weather information
The position sent to the instrument rotator; the details depend on the rotator.
table::Key< lsst::geom::Angle > boresightRotAngle