|
| def | __init__ (self, detectorFileName, ampFileNameList, inAmpCoords=True, plateScale=1., radialCoeffs=(0., 1.), clobberMetadata=False, doRaise=True) |
| |
| def | buildDetector (self) |
| |
| def | makeCalib (self) |
| |
| def | makeExposure (self, im, mask=None, variance=None) |
| |
Definition at line 101 of file fitsUtils.py.
◆ __init__()
| def lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.__init__ |
( |
|
self, |
|
|
|
detectorFileName, |
|
|
|
ampFileNameList, |
|
|
|
inAmpCoords = True, |
|
|
|
plateScale = 1., |
|
|
|
radialCoeffs = (0., 1.), |
|
|
|
clobberMetadata = False, |
|
|
|
doRaise = True |
|
) |
| |
@param[in] detectorFileName FITS file containing the detector description.
May use [] notation to specify an extension in an MEF.
@param[in] ampFileNameList List of FITS file names to use in building the amps.
May contain duplicate entries if the raw data are assembled.
@param[in] inAmpCoords Boolean, True if raw data are in amp coordinates, False if raw data
are assembled into pseudo detector pixel arrays
@param[in] plateScale Nominal platescale (arcsec/mm)
@param[in] radialCoeffs Radial distortion coefficients for a radial polynomial in normalized
units.
@param[in] clobberMetadata Clobber metadata from input files if
overridden in the _sanitizeMetadata method
@param[in] doRaise Raise exception if not all non-defaulted
keywords are defined? Default is True.
Definition at line 103 of file fitsUtils.py.
◆ buildDetector()
| def lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.buildDetector |
( |
|
self | ) |
|
Take all the information and build a Detector object. The Detector object is necessary for doing
things like assembly.
@return Detector object
Definition at line 297 of file fitsUtils.py.
◆ makeCalib()
| def lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.makeCalib |
( |
|
self | ) |
|
PLaceholder for subclasses to implement construction of a calib to associate with the exposure.
@return empty afwImage.Calib object
Definition at line 319 of file fitsUtils.py.
◆ makeExposure()
| def lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.makeExposure |
( |
|
self, |
|
|
|
im, |
|
|
|
mask = None, |
|
|
|
variance = None |
|
) |
| |
Method for constructing an exposure object from an image and the information contained in this
class to construct the Detector and Calib objects.
@param[in] im Image used to construct the exposure
@param[in] mask Optional mask plane as a <askU
@param[in] variance Optional variance plance as an image of the same type as im
@param[out] Exposure object
Definition at line 325 of file fitsUtils.py.
◆ ampMetadataList
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.ampMetadataList |
◆ defaultAmpMap
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.defaultAmpMap |
◆ defaultDetectorMap
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.defaultDetectorMap |
◆ detector
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.detector |
◆ detectorMetadata
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.detectorMetadata |
◆ doRaise
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.doRaise |
◆ focalPlaneToField
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.focalPlaneToField |
◆ inAmpCoords
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.inAmpCoords |
◆ plateScale
| lsst.afw.cameraGeom.fitsUtils.DetectorBuilder.plateScale |
The documentation for this class was generated from the following file: