Skip to content

Commit

Permalink
Add IsrMock code to allow for easier testing of ip_isr.
Browse files Browse the repository at this point in the history
The added IsrMock code is based on the afw/cameraGeom/testUtils.py and
afw/cameraGeom/utils.py code to provide a complete camera
geometry/detector/amplifier set, and replaces some example code from
ip_isr/examples.  The new mocks can be constructed to either represent
a "raw" exposure with the inclusion of various instrument signals
(bias, dark, flat, etc.), as well as the master calibration frame to
allow the removal of those instrument signals.  A Gen-2 butler dataRef
can also be constructed, to test that IsrTask properly retrieves the
appropriate mock data.
  • Loading branch information
czwa committed Mar 18, 2019
1 parent bd1808a commit 537d4a3
Show file tree
Hide file tree
Showing 2 changed files with 987 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/ip/isr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@
from .masking import *
from .straylight import *
from .measureCrosstalk import *
from .isrQa import *
from .isrMock import *

0 comments on commit 537d4a3

Please sign in to comment.