Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Dec 18, 2024
1 parent 844cf3e commit 9582abc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jwst/resample/tests/test_resample_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,11 +832,12 @@ 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', [(256, 488), (700, 124)])
@pytest.mark.parametrize('crval', [(50, 77), (20, -30)])
@pytest.mark.parametrize('shape', [(1205, 1100)])
@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 @@ -954,7 +955,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 9582abc

Please sign in to comment.