Skip to content

Commit

Permalink
Merge branch 'master' into update-citations-b11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nden authored Sep 19, 2024
2 parents fcf96d7 + 4bfab7f commit da9691d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions jwst/regtest/test_miri_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def run_detector1_with_clean_flicker_noise(rtdata_module):
# Run optional clean_flicker_noise step,
# saving extra outputs and masking to science regions
args = ["jwst.pipeline.Detector1Pipeline", rtdata_module.input,
"--output_file=jw01024002001_02101_00001_mirimage_cfn",
"--save_calibrated_ramp=True",
"--steps.clean_flicker_noise.skip=False",
"--steps.clean_flicker_noise.mask_science_regions=True",
Expand Down Expand Up @@ -136,9 +137,9 @@ def test_miri_image_detector1_with_avg_dark_current(run_detector1_with_average_d

@pytest.mark.bigdata
@pytest.mark.parametrize("suffix",
["clean_flicker_noise", "mask",
["cfn_clean_flicker_noise", "mask",
"flicker_bkg", "flicker_noise",
"ramp", "rate", "rateints"])
"cfn_ramp", "cfn_rate", "cfn_rateints"])
def test_miri_image_detector1_with_clean_flicker_noise(
run_detector1_with_clean_flicker_noise,
rtdata_module, fitsdiff_default_kwargs, suffix):
Expand Down
5 changes: 3 additions & 2 deletions jwst/regtest/test_nircam_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def run_detector1_with_clean_flicker_noise(rtdata_module):
# Run detector1 pipeline only on one of the _uncal files.
# Run optional clean_flicker_noise step, saving extra outputs
args = ["jwst.pipeline.Detector1Pipeline", rtdata_module.input,
"--output_file=jw01538046001_03105_00001_nrcalong_cfn",
"--save_calibrated_ramp=True",
"--steps.clean_flicker_noise.skip=False",
"--steps.clean_flicker_noise.save_results=True",
Expand Down Expand Up @@ -247,9 +248,9 @@ def test_imaging_distortion(rtdata, fitsdiff_default_kwargs):

@pytest.mark.bigdata
@pytest.mark.parametrize("suffix",
["clean_flicker_noise", "mask",
["cfn_clean_flicker_noise", "mask",
"flicker_bkg", "flicker_noise",
"ramp", "rate", "rateints"])
"cfn_ramp", "cfn_rate", "cfn_rateints"])
def test_nircam_image_detector1_with_clean_flicker_noise(
run_detector1_with_clean_flicker_noise,
rtdata_module, fitsdiff_default_kwargs, suffix):
Expand Down
5 changes: 3 additions & 2 deletions jwst/regtest/test_niriss_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def run_detector1_with_clean_flicker_noise(rtdata_module):
# Run optional clean_flicker_noise step,
# saving extra outputs and masking to science regions
args = ["jwst.pipeline.Detector1Pipeline", rtdata_module.input,
"--output_file=jw01094001002_02107_00001_nis_cfn",
"--save_calibrated_ramp=True",
"--steps.clean_flicker_noise.skip=False",
"--steps.clean_flicker_noise.save_results=True",
Expand All @@ -67,9 +68,9 @@ def test_niriss_image_detector1(run_detector1, rtdata_module, fitsdiff_default_k


@pytest.mark.bigdata
@pytest.mark.parametrize("suffix", ["clean_flicker_noise", "mask",
@pytest.mark.parametrize("suffix", ["cfn_clean_flicker_noise", "mask",
"flicker_bkg", "flicker_noise",
"ramp", "rate", "rateints"])
"cfn_ramp", "cfn_rate", "cfn_rateints"])
def test_niriss_image_detector1_with_clean_flicker_noise(
run_detector1_with_clean_flicker_noise, rtdata_module, fitsdiff_default_kwargs, suffix):
"""Regression test of detector1 pipeline performed on NIRISS imaging data.
Expand Down
5 changes: 3 additions & 2 deletions jwst/regtest/test_nirspec_irs2_detector1.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def run_detector1_with_clean_flicker_noise(rtdata_module):
# Run optional clean_flicker_noise step,
# saving extra outputs and masking to science regions
args = ["jwst.pipeline.Detector1Pipeline", rtdata_module.input,
"--output_file=jw01335004001_03101_00002_nrs2_cfn",
"--save_calibrated_ramp=True",
"--steps.clean_flicker_noise.skip=False",
"--steps.clean_flicker_noise.mask_science_regions=True",
Expand Down Expand Up @@ -74,9 +75,9 @@ def test_nirspec_irs2_detector1(run_detector1pipeline, rtdata_module,


@pytest.mark.bigdata
@pytest.mark.parametrize("suffix", ["clean_flicker_noise", "mask",
@pytest.mark.parametrize("suffix", ["cfn_clean_flicker_noise", "mask",
"flicker_bkg", "flicker_noise",
"ramp", "rate", "rateints"])
"cfn_ramp", "cfn_rate", "cfn_rateints"])
def test_nirspec_irs2_detector1_with_clean_flicker_noise(
run_detector1_with_clean_flicker_noise, rtdata_module,
fitsdiff_default_kwargs, suffix):
Expand Down

0 comments on commit da9691d

Please sign in to comment.