LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_AFW_IMAGE_VISITINFO_H_INCLUDED
25 #define LSST_AFW_IMAGE_VISITINFO_H_INCLUDED
102 _boresightAzAlt(boresightAzAlt),
106 _observatory(observatory),
210 double _exposureTime;
217 double _boresightAirmass;
259 #endif // !LSST_AFW_IMAGE_VISITINFO_H_INCLUDED
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
daf::base::DateTime getDate() const
get uniform date and time at middle of exposure
std::int64_t RecordId
Type used for unique IDs for records.
double getUt1() const
get UT1 (universal time) MJD date at middle of exposure
table::RecordId getExposureId() const
get exposure ID
table::Key< double > boresightAirmass
table::Key< lsst::geom::Angle > era
bool equals(typehandling::Storable const &other) const noexcept override
Compare this object to another Storable.
RotType getRotType() const
get rotation type of boresightRotAngle
void setVisitInfoMetadata(daf::base::PropertyList &metadata, VisitInfo const &visitInfo)
Set FITS metadata from a VisitInfo.
lsst::geom::Angle getBoresightParAngle() const
Get parallactic angle at the boresight.
lsst::geom::Angle getEra() const
get earth rotation angle at middle of exposure
@ UNKNOWN
Rotation angle is unknown.
double getExposureTime() const
get exposure duration (shutter open time); (sec)
Class for storing ordered metadata with comments.
VisitInfo(VisitInfo &&)=default
std::ostream & operator<<(std::ostream &os, Measurement const &measurement)
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)
std::size_t hash_value() const noexcept override
Return a hash of this object.
Interface supporting iteration over heterogenous containers.
Class for handling dates/times, including MJD, UTC, and TAI.
table::Key< int > rotType
coord::Weather getWeather() const
get basic weather information
Basic weather information sufficient for a simple model for air mass or refraction.
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.
Information about a single exposure of an imaging camera.
lsst::geom::SpherePoint getBoresightAzAlt() const
get refracted apparent topocentric Az/Alt position at the boresight (and at the middle of the exposur...
@ SKY
Position angle of focal plane +Y, measured from N through E.
ItemVariant const * other
lsst::geom::Angle getBoresightRotAngle() const
Get rotation angle at boresight at middle of exposure.
table::Key< table::RecordId > exposureId
@ HORIZON
Position angle of focal plane +Y, measured from +Alt through +Az.
table::Key< lsst::geom::Angle > boresightRotAngle
VisitInfo & operator=(VisitInfo &&)=default
lsst::geom::Angle getBoresightHourAngle() const
table::Key< double > exposureTime
Hold the location of an observatory.
table::CoordKey boresightRaDec
table::Key< double > darkTime
A base class for image defects.
double getBoresightAirmass() const
get airmass at the boresight, relative to zenith at sea level (and at the middle of the exposure,...
bool operator==(VisitInfo const &other) const
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
bool isPersistable() const noexcept override
Return true if this particular object can be persisted using afw::table::io.
std::string toString() const override
Create a string representation of this object.
@ MOUNT
The position sent to the instrument rotator; the details depend on the rotator.
bool operator!=(VisitInfo const &other) const
A CRTP facade class for subclasses of Persistable.
lsst::geom::Angle getLocalEra() const
A class representing an angle.
Class for storing generic metadata.
double getDarkTime() const
get time from CCD flush to exposure readout, including shutter open time (despite the name); (sec)
~VisitInfo() override=default
Point in an unspecified spherical coordinate system.
VisitInfo(VisitInfo const &)=default
int stripVisitInfoKeywords(daf::base::PropertySet &metadata)
Remove VisitInfo-related keywords from the metadata.
io::OutputArchiveHandle OutputArchiveHandle
coord::Observatory getObservatory() const
get observatory longitude, latitude and elevation
std::shared_ptr< typehandling::Storable > cloneStorable() const override
Create a new VisitInfo that is a copy of this one.
VisitInfo & operator=(VisitInfo const &)=default
std::string getPersistenceName() const override
Return the unique name used to persist this object and look up its factory.
size_t operator()(argument_type const &obj) const noexcept