Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tickets/DM-1448: Move code for mock images so it reusable. #81

Merged
merged 2 commits into from
Mar 19, 2019

Commits on Mar 8, 2019

  1. Remove unhelpful and out-of-date ip_isr/examples directory.

    The examples in this directory have been superseded.  The isr.py and
    runAssembleTask.py scripts produce results that can be obtained from
    the runIsr.py command line task.  Some of the exampleUtils.py code to
    generate fake image data will be included in the new isrMock.py code.
    czwa committed Mar 8, 2019
    Configuration menu
    Copy the full SHA
    bd1808a View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Add IsrMock code to allow for easier testing of ip_isr.

    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.
    czwa committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    537d4a3 View commit details
    Browse the repository at this point in the history