Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Dec 19, 2024
1 parent 182dfcf commit 7488c81
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions jwst/resample/tests/test_resample_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,12 +831,13 @@ def test_resample_undefined_variance(nircam_rate, shape):

@pytest.mark.parametrize('ratio', [0.7, 1.2])
@pytest.mark.parametrize('rotation', [0, 15, 135])
@pytest.mark.parametrize('crpix', [(600, 550), (601, 551)])
@pytest.mark.parametrize('crval', [(22.04, 11.98), (22.041, 11.981)])
@pytest.mark.parametrize('shape', [(1205, 1100)])
@pytest.mark.parametrize('crpix', [(256, 488), (700, 124)])
@pytest.mark.parametrize('crval', [(22.04019, 11.98262), (22.0404, 11.983)])
@pytest.mark.parametrize('shape', [(1020, 1010)])
def test_custom_wcs_resample_imaging(nircam_rate, ratio, rotation, crpix, crval, shape):
im = AssignWcsStep.call(nircam_rate, sip_approx=False)
im.data += 5

result = ResampleStep.call(
im,
output_shape=shape,
Expand Down Expand Up @@ -957,7 +958,7 @@ def test_custom_refwcs_pixel_shape_imaging(nircam_rate, tmp_path):
im.data[:, :] = rng.random(im.data.shape)

crpix = (600, 550)
crval = (22.04, 11.98)
crval = (22.04019, 11.98262)
rotation = 15
ratio = 0.7

Expand Down

0 comments on commit 7488c81

Please sign in to comment.