|
LSSTApplications
1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
|
#include <ExposureInfo.h>
Public Types | |
| typedef boost::shared_ptr < ExposureInfo > | Ptr |
| typedef boost::shared_ptr < ExposureInfo const > | ConstPtr |
Public Member Functions | |
| ExposureInfo (lsst::daf::base::PropertySet::Ptr props, std::string const &idKey=DEF_ID_KEY) | |
| ExposureInfo (lsst::daf::base::PropertySet::Ptr props, int64_t id) | |
| ~ExposureInfo () | |
| int64_t | getId () const |
| Return the unique integer identifier for the exposure. More... | |
| lsst::afw::image::Filter const & | getFilter () const |
| Return the filter of the exposure. UNKNOWN for multi-band. More... | |
| double | getEpoch () const |
| Return the exposure mid-point, MJD TAI. NaN for coadds. More... | |
| double | getExposureTime () const |
| Return the exposure time, s. NaN for coadds. More... | |
| lsst::afw::coord::IcrsCoord const & | getCenter () const |
| Return the ICRS coordinates of the image center (rad). More... | |
| Eigen::Vector3d const & | getEarthPosition () const |
| Return the SSB coordinates of the earth at t = getEpoch(). More... | |
| bool | canCalibrateFlux () const |
| Is there enough information to calibrate fluxes? More... | |
| double | calibrateFlux (double flux, double fluxScale) const |
| std::pair< double, double > const | calibrateFlux (double flux, double fluxSigma, double fluxScale) const |
| virtual double | getMinCoord0 () const |
| virtual double | getMaxCoord0 () const |
| virtual double | getMinCoord1 () const |
| virtual double | getMaxCoord1 () const |
| int | getWidth () const |
| Get exposure width and/or height. More... | |
| int | getHeight () const |
| Get exposure width and/or height. More... | |
| lsst::afw::geom::Extent2I const | getExtent () const |
| Get exposure width and/or height. More... | |
| int | getX0 () const |
| Get pixel coordinates of sub-image pixel (0,0) in the parent exposure. More... | |
| int | getY0 () const |
| Get pixel coordinates of sub-image pixel (0,0) in the parent exposure. More... | |
| lsst::afw::geom::Point2I const | getXY0 () const |
| Get pixel coordinates of sub-image pixel (0,0) in the parent exposure. More... | |
| lsst::afw::image::Wcs::ConstPtr | getWcs () const |
| Return the exposure WCS. More... | |
| lsst::afw::image::Wcs::Ptr | getWcs () |
| Return the exposure WCS. More... | |
Public Member Functions inherited from lsst::ap::match::BBox | |
| virtual | ~BBox () |
Static Public Attributes | |
| static std::string const | DEF_ID_KEY |
Private Member Functions | |
| Eigen::Vector3d const | _pixToSky (double x, double y) const |
| void | _init (lsst::daf::base::PropertySet::Ptr props) |
Private Attributes | |
| lsst::afw::coord::IcrsCoord | _center |
| lsst::afw::geom::Angle | _radius |
| lsst::afw::geom::Angle | _alpha |
| Eigen::Vector3d | _earthPos |
| int64_t | _id |
| double | _epoch |
| double | _expTime |
| double | _fluxMag0 |
| double | _fluxMag0Sigma |
| lsst::afw::geom::Extent2I | _extent |
| lsst::afw::geom::Point2I | _xy0 |
| lsst::afw::image::Wcs::Ptr | _wcs |
| lsst::afw::image::Filter | _filter |
| int | _filterId |
| bool | _canCalibrateFlux |
| bool | _epValid |
Class that bundles together the WCS, extents, time and flux calibration information from an exposure (typically a CCD). No pixel access is provided. The lsst::daf::base::PropertySet containing the FITS header cards from which instances are created is not stored.
This provides a relatively memory efficient representation of the CCD metadata AP cares about, which is important since metadata for tens of thousands of CCDs may need to be kept in memory simultaneously.
Definition at line 61 of file ExposureInfo.h.
| typedef boost::shared_ptr<ExposureInfo const> lsst::ap::match::ExposureInfo::ConstPtr |
Definition at line 64 of file ExposureInfo.h.
| typedef boost::shared_ptr<ExposureInfo> lsst::ap::match::ExposureInfo::Ptr |
Definition at line 63 of file ExposureInfo.h.
| lsst::ap::match::ExposureInfo::ExposureInfo | ( | lsst::daf::base::PropertySet::Ptr | metadata, |
| std::string const & | idKey = DEF_ID_KEY |
||
| ) |
| metadata | FITS metadata for image |
| idKey | Metadata key for unique integer image id |
Definition at line 130 of file ExposureInfo.cc.
| lsst::ap::match::ExposureInfo::ExposureInfo | ( | lsst::daf::base::PropertySet::Ptr | metadata, |
| int64_t | id | ||
| ) |
| metadata | FITS metadata for image |
| id | Unique integer image id |
Definition at line 151 of file ExposureInfo.cc.
| lsst::ap::match::ExposureInfo::~ExposureInfo | ( | ) |
Definition at line 172 of file ExposureInfo.cc.
|
private |
Definition at line 71 of file ExposureInfo.cc.
|
private |
Definition at line 227 of file ExposureInfo.cc.
| double lsst::ap::match::ExposureInfo::calibrateFlux | ( | double | flux, |
| double | fluxScale | ||
| ) | const |
Returns a flux value calibrated using the flux of a zero magnitude object associated with this exposure.
| flux | flux to calibrate, DN |
| fluxScale | flux scaling factor, must be > 0.0 |
Definition at line 174 of file ExposureInfo.cc.
| std::pair< double, double > const lsst::ap::match::ExposureInfo::calibrateFlux | ( | double | flux, |
| double | fluxSigma, | ||
| double | fluxScale | ||
| ) | const |
Returns a calibrated flux and its variance. The flux of a zero magnitude object associated with this exposure is used to perform the calibration.
| flux | flux to calibrate, DN |
| fluxSigma | standard deviation of flux |
| fluxScale | flux scaling factor, must be > 0.0 |
Definition at line 186 of file ExposureInfo.cc.
|
inline |
Is there enough information to calibrate fluxes?
Definition at line 116 of file ExposureInfo.h.
|
inline |
Return the ICRS coordinates of the image center (rad).
Definition at line 88 of file ExposureInfo.h.
|
inline |
Return the SSB coordinates of the earth at t = getEpoch().
Definition at line 93 of file ExposureInfo.h.
|
inline |
Return the exposure mid-point, MJD TAI. NaN for coadds.
Definition at line 82 of file ExposureInfo.h.
|
inline |
|
inline |
Get exposure width and/or height.
Definition at line 105 of file ExposureInfo.h.
|
inline |
Return the filter of the exposure. UNKNOWN for multi-band.
Definition at line 79 of file ExposureInfo.h.
|
inline |
Get exposure width and/or height.
Definition at line 104 of file ExposureInfo.h.
|
inline |
Return the unique integer identifier for the exposure.
Definition at line 75 of file ExposureInfo.h.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 215 of file ExposureInfo.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 223 of file ExposureInfo.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 211 of file ExposureInfo.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 219 of file ExposureInfo.cc.
|
inline |
|
inline |
|
inline |
Get exposure width and/or height.
Definition at line 103 of file ExposureInfo.h.
|
inline |
Get pixel coordinates of sub-image pixel (0,0) in the parent exposure.
Definition at line 110 of file ExposureInfo.h.
|
inline |
Get pixel coordinates of sub-image pixel (0,0) in the parent exposure.
Definition at line 112 of file ExposureInfo.h.
|
inline |
Get pixel coordinates of sub-image pixel (0,0) in the parent exposure.
Definition at line 111 of file ExposureInfo.h.
|
private |
Definition at line 161 of file ExposureInfo.h.
|
private |
Definition at line 173 of file ExposureInfo.h.
|
private |
Definition at line 159 of file ExposureInfo.h.
|
mutableprivate |
Definition at line 162 of file ExposureInfo.h.
|
private |
Definition at line 164 of file ExposureInfo.h.
|
mutableprivate |
Definition at line 174 of file ExposureInfo.h.
|
private |
Definition at line 165 of file ExposureInfo.h.
|
private |
Definition at line 168 of file ExposureInfo.h.
|
private |
Definition at line 171 of file ExposureInfo.h.
|
private |
Definition at line 172 of file ExposureInfo.h.
|
private |
Definition at line 166 of file ExposureInfo.h.
|
private |
Definition at line 167 of file ExposureInfo.h.
|
private |
Definition at line 163 of file ExposureInfo.h.
|
private |
Definition at line 160 of file ExposureInfo.h.
|
private |
Definition at line 170 of file ExposureInfo.h.
|
private |
Definition at line 169 of file ExposureInfo.h.
|
static |
Definition at line 66 of file ExposureInfo.h.
1.8.5