MakeMegacamRawVisitInfo¶
- 
class 
lsst.obs.cfht.makeMegacamRawVisitInfo.MakeMegacamRawVisitInfo(log=None)¶ Bases:
lsst.obs.base.MakeRawVisitInfoViaObsInfoMake a VisitInfo from the FITS header of a raw Megacam 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. Items that are used are stripped from the metadata.
- exposureId : 
int, optional Ignored. Here for compatibility with
MakeRawVisitInfo.
Returns: - visitInfo : 
lsst.afw.image.VisitInfo VisitInfoderived from the header using aMetadataTranslator.
- md : 
 
- 
static 
observationInfo2visitInfo(obsInfo, log=None)¶ Construct a
VisitInfofrom anObservationInfoParameters: - 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.
Returns: - visitInfo : 
lsst.afw.image.VisitInfo VisitInfoderived from the suppliedObservationInfo.
- obsInfo : 
 
-