MakeDecamRawVisitInfo¶
-
class
lsst.obs.decam.MakeDecamRawVisitInfo(log=None, doStripHeader=False)¶ Bases:
lsst.obs.base.MakeRawVisitInfoViaObsInfoMake a VisitInfo from the FITS header of a raw DECam image
Methods Summary
__call__(md[, exposureId])Construct a VisitInfo and strip associated data from the metadata.
observationInfo2visitInfo(obsInfo[, log])Construct a
VisitInfofrom anObservationInfoMethods Documentation
-
__call__(md, exposureId=None)¶ Construct a VisitInfo and strip associated data from the metadata.
- Parameters
- md
lsst.daf.base.PropertyListorlsst.daf.base.PropertySet Metadata to pull from. May be modified if
stripHeaderisTrue.- exposureId
int, optional Ignored. Here for compatibility with
MakeRawVisitInfo.
- md
- Returns
- visitInfo
lsst.afw.image.VisitInfo VisitInfoderived from the header using aMetadataTranslator.
- visitInfo
-
static
observationInfo2visitInfo(obsInfo, log=None)¶ Construct a
VisitInfofrom anObservationInfo- Parameters
- obsInfo
astro_metadata_translator.ObservationInfo Information gathered from the observation metadata.
- log
logging.Loggerorlsst.log.Log, optional Logger to use for logging informational messages. If
Nonelogging will be disabled.
- obsInfo
- Returns
- visitInfo
lsst.afw.image.VisitInfo VisitInfoderived from the suppliedObservationInfo.
- visitInfo
-