LSSTApplications
19.0.0-14-gb0260a2+72efe9b372,20.0.0+7927753e06,20.0.0+8829bf0056,20.0.0+995114c5d2,20.0.0+b6f4b2abd1,20.0.0+bddc4f4cbe,20.0.0-1-g253301a+8829bf0056,20.0.0-1-g2b7511a+0d71a2d77f,20.0.0-1-g5b95a8c+7461dd0434,20.0.0-12-g321c96ea+23efe4bbff,20.0.0-16-gfab17e72e+fdf35455f6,20.0.0-2-g0070d88+ba3ffc8f0b,20.0.0-2-g4dae9ad+ee58a624b3,20.0.0-2-g61b8584+5d3db074ba,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+226a441f5f,20.0.0-2-gf072044+8829bf0056,20.0.0-2-gf1f7952+ee58a624b3,20.0.0-20-geae50cf+e37fec0aee,20.0.0-25-g3dcad98+544a109665,20.0.0-25-g5eafb0f+ee58a624b3,20.0.0-27-g64178ef+f1f297b00a,20.0.0-3-g4cc78c6+e0676b0dc8,20.0.0-3-g8f21e14+4fd2c12c9a,20.0.0-3-gbd60e8c+187b78b4b8,20.0.0-3-gbecbe05+48431fa087,20.0.0-38-ge4adf513+a12e1f8e37,20.0.0-4-g97dc21a+544a109665,20.0.0-4-gb4befbc+087873070b,20.0.0-4-gf910f65+5d3db074ba,20.0.0-5-gdfe0fee+199202a608,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g64f541c+d529cf1a41,20.0.0-6-g9a5b7a1+a1cd37312e,20.0.0-68-ga3f3dda+5fca18c6a4,20.0.0-9-g4aef684+e18322736b,w.2020.45
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