Skip to content

Commit

Permalink
Merge branch 'main' into jp3622
Browse files Browse the repository at this point in the history
  • Loading branch information
penaguerrero authored Dec 12, 2024
2 parents 21a58c2 + 911335e commit 444a698
Showing 1 changed file with 28 additions and 14 deletions.
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

0 comments on commit 444a698

Please sign in to comment.