24 #ifndef LSST_AFW_IMAGE_VISITINFO_H_INCLUDED
25 #define LSST_AFW_IMAGE_VISITINFO_H_INCLUDED
39 namespace lsst {
namespace afw {
namespace image {
231 #endif // !LSST_AFW_IMAGE_VISITINFO_H_INCLUDED
geom::Angle getBoresightHourAngle() const
virtual void write(OutputArchiveHandle &handle) const
Write the object to one or more catalogs.
table::Key< double > exposureTime
bool isPersistable() const
Return true if this particular object can be persisted using afw::table::io.
geom::Angle getBoresightRotAngle() const
Get rotation angle at boresight at middle of exposure.
A coordinate class intended to represent absolute positions.
table::Key< table::RecordId > exposureId
bool operator==(VisitInfo const &other) const
Class for handling dates/times, including MJD, UTC, and TAI.
table::Key< double > darkTime
table::RecordId getExposureId() const
get exposure ID
table::CoordKey boresightRaDec
Class for storing ordered metadata with comments.
Hold the location of an observatory.
coord::Coord getBoresightAzAlt() const
get refracted apparent topocentric Az/Alt position at the boresight (and at the middle of the exposur...
Information about a single exposure of an imaging camera.
daf::base::DateTime _date
io::OutputArchiveHandle OutputArchiveHandle
geom::Angle getEra() const
get earth rotation angle at middle of exposure
bool operator!=(VisitInfo const &other) const
Class to hold observatory/telescope location.
Rotation angle is unknown.
table::RecordId _exposureId
table::Key< table::Array< Kernel::Pixel > > image
A base class for objects that can be persisted via afw::table::io Archive classes.
std::int64_t RecordId
Type used for unique IDs for records.
coord::IcrsCoord _boresightRaDec
void setVisitInfoMetadata(daf::base::PropertyList &metadata, VisitInfo const &visitInfo)
Set FITS metadata from a VisitInfo.
A class representing an Angle.
double getBoresightAirmass() const
get airmass at the boresight, relative to zenith at sea level (and at the middle of the exposure...
coord::Coord _boresightAzAlt
daf::base::DateTime getDate() const
get uniform date and time at middle of exposure
coord::Weather getWeather() const
get basic weather information
coord::Observatory _observatory
table::Key< double > boresightAirmass
geom::Angle _boresightRotAngle
double getUt1() const
get UT1 (universal time) MJD date at middle of exposure
Basic weather information sufficient for a simple model for air mass or refraction.
virtual std::string getPersistenceName() const
Return the unique name used to persist this object and look up its factory.
Orientation of E,N with respected to detector X,Y; X is flipped, if necessary, to match the handednes...
VisitInfo & operator=(VisitInfo const &)=default
Class for storing generic metadata.
geom::Angle getLocalEra() const
table::Key< int > rotType
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.
orientation of Az/Alt with respect to detector X,Y; X is flipped, if necessary, to match the handedne...
coord::Observatory getObservatory() const
get observatory longitude, latitude and elevation
This is the base class for spherical coordinates.
table::Key< geom::Angle > era
A CRTP facade class for subclasses of Persistable.
table::Key< geom::Angle > boresightRotAngle
A class to handle Icrs coordinates (inherits from Coord)
double getExposureTime() const
get exposure duration (shutter open time); (sec)
RotType getRotType() const
get rotation type of boresightRotAngle
The position sent to the instrument rotator; the details depend on the rotator.
double getDarkTime() const
get time from CCD flush to exposure readout, including shutter open time (despite the name); (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)...
Functions to handle coordinates.