LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, **kwargs) | |
run (self) | |
makeImage (self) | |
applyGain (self, ampData, gain) | |
amplifierAddXGradient (self, ampData, start, end) | |
Static Public Attributes | |
ConfigClass = IsrMockLSSTConfig | |
Static Protected Attributes | |
str | _DefaultName = "isrMockLSST" |
Class to generate consistent mock images for ISR testing. ISR testing currently relies on one-off fake images that do not accurately mimic the full set of detector effects. This class uses the test camera/detector/amplifier structure defined in `lsst.afw.cameraGeom.testUtils` to avoid making the test data dependent on any of the actual obs package formats.
Definition at line 72 of file isrMockLSST.py.
lsst.ip.isr.isrMockLSST.IsrMockLSST.__init__ | ( | self, | |
** | kwargs ) |
Reimplemented from lsst.ip.isr.isrMock.IsrMock.
Reimplemented in lsst.ip.isr.isrMockLSST.RawMockLSST, lsst.ip.isr.isrMockLSST.TrimmedRawMockLSST, lsst.ip.isr.isrMockLSST.CalibratedRawMockLSST, lsst.ip.isr.isrMockLSST.ReferenceMockLSST, lsst.ip.isr.isrMockLSST.DarkMockLSST, lsst.ip.isr.isrMockLSST.BiasMockLSST, lsst.ip.isr.isrMockLSST.FlatMockLSST, lsst.ip.isr.isrMockLSST.FringeMockLSST, lsst.ip.isr.isrMockLSST.BfKernelMockLSST, lsst.ip.isr.isrMockLSST.DefectMockLSST, lsst.ip.isr.isrMockLSST.CrosstalkCoeffMockLSST, and lsst.ip.isr.isrMockLSST.TransmissionMockLSST.
Definition at line 84 of file isrMockLSST.py.
lsst.ip.isr.isrMockLSST.IsrMockLSST.amplifierAddXGradient | ( | self, | |
ampData, | |||
start, | |||
end ) |
Add a x-axis linear gradient to an amplifier's image data. This method operates in the amplifier coordinate frame. Parameters ---------- ampData : `lsst.afw.image.ImageF` Amplifier image to operate on. start : `float` Start value of the gradient (at y=0). end : `float` End value of the gradient (at y=ymax).
Definition at line 290 of file isrMockLSST.py.
lsst.ip.isr.isrMockLSST.IsrMockLSST.applyGain | ( | self, | |
ampData, | |||
gain ) |
Apply gain to the amplifier's data. This method divides the data by the gain because the mocks need to convert the data in electron to ADU, so it does the inverse operation to applyGains in isrFunctions. Parameters ---------- ampData : `lsst.afw.image.ImageF` Amplifier image to operate on. gain : `float` Gain value in e^-/DN.
Definition at line 274 of file isrMockLSST.py.
lsst.ip.isr.isrMockLSST.IsrMockLSST.makeImage | ( | self | ) |
Generate a simulated ISR LSST image. Returns ------- exposure : `lsst.afw.image.Exposure` or `dict` Simulated ISR image data. Notes ----- This method constructs a "raw" data image.
Reimplemented from lsst.ip.isr.isrMock.IsrMock.
Definition at line 114 of file isrMockLSST.py.
lsst.ip.isr.isrMockLSST.IsrMockLSST.run | ( | self | ) |
Generate a mock ISR product following LSSTCam ISR, and return it. Returns ------- image : `lsst.afw.image.Exposure` Simulated ISR image with signals added. dataProduct : Simulated ISR data products. None : Returned if no valid configuration was found. Raises ------ RuntimeError Raised if both doGenerateImage and doGenerateData are specified.
Reimplemented from lsst.ip.isr.isrMock.IsrMock.
Definition at line 88 of file isrMockLSST.py.
|
staticprotected |
Definition at line 82 of file isrMockLSST.py.
|
static |
Definition at line 81 of file isrMockLSST.py.