LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
Construct a FakeImageDataSource. More... | |
def | getCcdImage |
Return a CCD image for the detector. More... | |
def | getAmpImage |
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 |
Definition at line 252 of file utils.py.
def lsst.afw.cameraGeom.utils.FakeImageDataSource.getAmpImage | ( | self, | |
amp, | |||
imageFactory | |||
) |
Return an amp segment image.
[in] | amp | AmpInfoTable for this amp |
[in] | imageFactory | image constructor fo making the imag |
Definition at line 283 of file utils.py.
def lsst.afw.cameraGeom.utils.FakeImageDataSource.getCcdImage | ( | self, | |
det, | |||
imageFactory, | |||
binSize | |||
) |
Return a CCD image for the detector.
[in] | det: | Detector to use for making the image |
[in] | imageFactory: | image constructor for making the image |
[in] | binSize: | number of pixels per bin axis |
Definition at line 273 of file utils.py.