24 #ifndef LSST_AFW_IMAGE_VISITINFO_H_INCLUDED 25 #define LSST_AFW_IMAGE_VISITINFO_H_INCLUDED 95 : _exposureId(exposureId),
96 _exposureTime(exposureTime),
101 _boresightRaDec(boresightRaDec),
102 _boresightAzAlt(boresightAzAlt),
103 _boresightAirmass(boresightAirmass),
104 _boresightRotAngle(boresightRotAngle),
106 _observatory(observatory),
210 double _exposureTime;
217 double _boresightAirmass;
259 #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...
def write(self, patchRef, catalog)
Write the output.
lsst::geom::SpherePoint getBoresightAzAlt() const
get refracted apparent topocentric Az/Alt position at the boresight (and at the middle of the exposur...
size_t operator()(argument_type const &obj) const noexcept
Class for handling dates/times, including MJD, UTC, and TAI.
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.
Class for storing ordered metadata with comments.
Hold the location of an observatory.
table::CoordKey boresightRaDec
Interface supporting iteration over heterogenous containers.
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
table::Key< double > boresightAirmass
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
table::Key< lsst::geom::Angle > era
bool isPersistable() const noexcept override
Return true if this particular object can be persisted using afw::table::io.
table::Key< int > rotType
Rotation angle is unknown.
A class representing an angle.
table::Key< lsst::geom::Angle > boresightRotAngle
void setVisitInfoMetadata(daf::base::PropertyList &metadata, VisitInfo const &visitInfo)
Set FITS metadata from a VisitInfo.
A base class for image defects.
table::Key< double > exposureTime
table::RecordId getExposureId() const
get exposure ID
bool operator!=(VisitInfo const &other) const
table::Key< table::RecordId > exposureId
double getExposureTime() const
get exposure duration (shutter open time); (sec)
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
Point in an unspecified spherical coordinate system.
Class for storing generic metadata.
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...
table::Key< double > darkTime
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.