MakeMegacamRawVisitInfo¶
- class lsst.obs.cfht.makeMegacamRawVisitInfo.MakeMegacamRawVisitInfo(log=None, doStripHeader=False)¶
- Bases: - MakeRawVisitInfoViaObsInfo- Make 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 an- ObservationInfo- Methods Documentation - __call__(md, exposureId=None)¶
- Construct a VisitInfo and strip associated data from the metadata. - Parameters:
- mdlsst.daf.base.PropertyListorlsst.daf.base.PropertySet
- Metadata to pull from. May be modified if - stripHeaderis- True.
- exposureIdint, optional
- Ignored. Here for compatibility with - MakeRawVisitInfo.
 
- md
- Returns:
- visitInfolsst.afw.image.VisitInfo
- VisitInfoderived from the header using a- MetadataTranslator.
 
- visitInfo
 
 - static observationInfo2visitInfo(obsInfo, log=None)¶
- Construct a - VisitInfofrom an- ObservationInfo- Parameters:
- obsInfoastro_metadata_translator.ObservationInfo
- Information gathered from the observation metadata. 
- loglogging.Loggerorlsst.log.Log, optional
- Logger to use for logging informational messages. If - Nonelogging will be disabled.
 
- obsInfo
- Returns:
- visitInfolsst.afw.image.VisitInfo
- VisitInfoderived from the supplied- ObservationInfo.
 
- visitInfo