|
lsst.afw
14.0-63-g921e36d6a
|
Public Member Functions | |
| def | __init__ (self, isTrimmed=True, verbose=False, background=numpy.nan, showAmpGain=True, markSize=10, markValue=0, ampImValue=None, scaleGain=lambda gain:(gain *1000)//10) |
| Construct a FakeImageDataSource. More... | |
| def | getCcdImage (self, det, imageFactory, binSize) |
| Return a CCD image for the detector and the (possibly updated) Detector. More... | |
| def | getAmpImage (self, amp, imageFactory) |
| Return an amp segment image. More... | |
Public Attributes | |
| isTrimmed | |
| verbose | |
| background | |
| showAmpGain | |
| markSize | |
| markValue | |
| ampImValue | |
| scaleGain | |
A class to retrieve synthetic images for display by the show* methods
| def lsst.afw.cameraGeom.utils.FakeImageDataSource.__init__ | ( | self, | |
isTrimmed = True, |
|||
verbose = False, |
|||
background = numpy.nan, |
|||
showAmpGain = True, |
|||
markSize = 10, |
|||
markValue = 0, |
|||
ampImValue = None, |
|||
scaleGain = lambda gain: (gain*1000)//10 |
|||
| ) |
Construct a FakeImageDataSource.
| [in] | isTrimmed | Should amps be trimmed? |
| [in] | verbose | Be chatty |
| [in] | background | The value of any pixels that lie outside the CCDs |
| [in] | showAmpGain | color the amp segments with the gain of the amp |
| [in] | markSize | size of the side of the box used to mark the read corner |
| [in] | markValue | value to assing the read corner mark |
| [in] | ampImValue | Value to assing to amps. scaleGain(gain) is used if None |
| [in] | scaleGain | function to scale the gain by |
| def lsst.afw.cameraGeom.utils.FakeImageDataSource.getAmpImage | ( | self, | |
| amp, | |||
| imageFactory | |||
| ) |
| def lsst.afw.cameraGeom.utils.FakeImageDataSource.getCcdImage | ( | self, | |
| det, | |||
| imageFactory, | |||
| binSize | |||
| ) |
1.8.13