Skip to content

Commit

Permalink
JP-2928: Update MIRI coron3 test with flight data (#7431)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbushouse authored Jan 13, 2023
1 parent f9618fc commit e2284d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jwst/regtest/test_miri_coron3.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def run_pipeline(jail, rtdata_module):
"""Run calwebb_coron3 on MIRI 4QPM coronographic data."""
rtdata = rtdata_module
rtdata.get_asn("miri/coron/miri_1065_coron3_asn.json")
rtdata.get_asn("miri/coron/jw01386-c1002_20230109t015044_coron3_00001_asn.json")

# Run the calwebb_coron3 pipeline on the association
args = [
Expand All @@ -20,13 +20,13 @@ def run_pipeline(jail, rtdata_module):


@pytest.mark.bigdata
@pytest.mark.parametrize("suffix", ["psfalign", "psfsub"])
@pytest.mark.parametrize("exposure", ["roll1", "roll2"])
@pytest.mark.parametrize("suffix", ["crfints", "psfalign", "psfsub"])
@pytest.mark.parametrize("exposure", ["4", "5"])
def test_miri_coron3_sci_exp(run_pipeline, suffix, exposure, fitsdiff_default_kwargs):
"""Check intermediate results of calwebb_coron3"""
rtdata = run_pipeline

output = "MIRIM_CORON1065-F1065C-" + exposure + "_a3001_" + suffix + ".fits"
output = "jw0138600" + exposure + "001_04101_00001_mirimage_c1002_" + suffix + ".fits"
rtdata.output = output
rtdata.get_truth("truth/test_miri_coron3/" + output)

Expand All @@ -41,7 +41,7 @@ def test_miri_coron3_product(run_pipeline, suffix, fitsdiff_default_kwargs):
"""Check final products of calwebb_coron3"""
rtdata = run_pipeline

output = "coron1065_" + suffix + ".fits"
output = "jw01386-c1002_t001_miri_f1140c-mask1140_" + suffix + ".fits"
rtdata.output = output
rtdata.get_truth("truth/test_miri_coron3/" + output)

Expand Down

0 comments on commit e2284d1

Please sign in to comment.