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

Update MIRI MRS spec3 regtest for new cube defaults #9002

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 28 additions & 14 deletions jwst/regtest/test_miri_mrs_spec3.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,14 @@ def run_spec3_ifushort_extract1d(rtdata_module):
@pytest.mark.parametrize(
'output',
[
'jw01024-c1000_t002_miri_ch3-mediumlong_x1d.fits',
'jw01024-c1000_t002_miri_ch4-mediumlong_x1d.fits',
'jw01024-c1000_t002_miri_ch3-mediumlong_s3d.fits',
'jw01024-c1000_t002_miri_ch4-mediumlong_s3d.fits',
'jw01024-c1000_t002_miri_ch3-long_x1d.fits',
'jw01024-c1000_t002_miri_ch3-medium_x1d.fits',
'jw01024-c1000_t002_miri_ch4-long_x1d.fits',
'jw01024-c1000_t002_miri_ch4-medium_x1d.fits',
'jw01024-c1000_t002_miri_ch3-long_s3d.fits',
'jw01024-c1000_t002_miri_ch3-medium_s3d.fits',
'jw01024-c1000_t002_miri_ch4-long_s3d.fits',
'jw01024-c1000_t002_miri_ch4-medium_s3d.fits',
]
)
def test_spec3_ifulong(run_spec3_ifulong, fitsdiff_default_kwargs, output):
Expand All @@ -122,10 +126,14 @@ def test_spec3_ifulong(run_spec3_ifulong, fitsdiff_default_kwargs, output):
@pytest.mark.parametrize(
'output',
[
'jw01024-c1000_t002_miri_ch1-mediumlong_x1d.fits',
'jw01024-c1000_t002_miri_ch2-mediumlong_x1d.fits',
'jw01024-c1000_t002_miri_ch1-mediumlong_s3d.fits',
'jw01024-c1000_t002_miri_ch2-mediumlong_s3d.fits'
'jw01024-c1000_t002_miri_ch1-long_x1d.fits',
'jw01024-c1000_t002_miri_ch1-medium_x1d.fits',
'jw01024-c1000_t002_miri_ch2-long_x1d.fits',
'jw01024-c1000_t002_miri_ch2-medium_x1d.fits',
'jw01024-c1000_t002_miri_ch1-long_s3d.fits',
'jw01024-c1000_t002_miri_ch1-medium_s3d.fits',
'jw01024-c1000_t002_miri_ch2-long_s3d.fits',
'jw01024-c1000_t002_miri_ch2-medium_s3d.fits'
],
)
def test_spec3_ifushort(run_spec3_ifushort, fitsdiff_default_kwargs, output):
Expand All @@ -145,10 +153,14 @@ def test_spec3_ifushort(run_spec3_ifushort, fitsdiff_default_kwargs, output):
@pytest.mark.parametrize(
'output',
[
'miri_mrs_emsm_ch1-mediumlong_x1d.fits',
'miri_mrs_emsm_ch2-mediumlong_x1d.fits',
'miri_mrs_emsm_ch1-mediumlong_s3d.fits',
'miri_mrs_emsm_ch2-mediumlong_s3d.fits'
'miri_mrs_emsm_ch1-long_x1d.fits',
'miri_mrs_emsm_ch1-medium_x1d.fits',
'miri_mrs_emsm_ch2-long_x1d.fits',
'miri_mrs_emsm_ch2-medium_x1d.fits',
'miri_mrs_emsm_ch1-long_s3d.fits',
'miri_mrs_emsm_ch1-medium_s3d.fits',
'miri_mrs_emsm_ch2-long_s3d.fits',
'miri_mrs_emsm_ch2-medium_s3d.fits'
],
)
def test_spec3_ifushort_emsm(run_spec3_ifushort_emsm, fitsdiff_default_kwargs, output):
Expand All @@ -168,8 +180,10 @@ def test_spec3_ifushort_emsm(run_spec3_ifushort_emsm, fitsdiff_default_kwargs, o
@pytest.mark.parametrize(
'output',
[
'jw01024-c1000_t002_extract1dtest_miri_ch1-mediumlong_x1d.fits',
'jw01024-c1000_t002_extract1dtest_miri_ch2-mediumlong_x1d.fits'
'jw01024-c1000_t002_extract1dtest_miri_ch1-long_x1d.fits',
'jw01024-c1000_t002_extract1dtest_miri_ch1-medium_x1d.fits',
'jw01024-c1000_t002_extract1dtest_miri_ch2-long_x1d.fits',
'jw01024-c1000_t002_extract1dtest_miri_ch2-medium_x1d.fits'
],
)
def test_spec3_ifushort_extract1d(run_spec3_ifushort_extract1d, fitsdiff_default_kwargs, output):
Expand Down
Loading