@@ -831,12 +831,13 @@ def test_resample_undefined_variance(nircam_rate, shape):
831
831
832
832
@pytest .mark .parametrize ('ratio' , [0.7 , 1.2 ])
833
833
@pytest .mark .parametrize ('rotation' , [0 , 15 , 135 ])
834
- @pytest .mark .parametrize ('crpix' , [(600 , 550 ), (601 , 551 )])
835
- @pytest .mark .parametrize ('crval' , [(22.04 , 11.98 ), (22.041 , 11.981 )])
836
- @pytest .mark .parametrize ('shape' , [(1205 , 1100 )])
834
+ @pytest .mark .parametrize ('crpix' , [(256 , 488 ), (700 , 124 )])
835
+ @pytest .mark .parametrize ('crval' , [(22.04019 , 11.98262 ), (22.0404 , 11.983 )])
836
+ @pytest .mark .parametrize ('shape' , [(1020 , 1010 )])
837
837
def test_custom_wcs_resample_imaging (nircam_rate , ratio , rotation , crpix , crval , shape ):
838
838
im = AssignWcsStep .call (nircam_rate , sip_approx = False )
839
839
im .data += 5
840
+
840
841
result = ResampleStep .call (
841
842
im ,
842
843
output_shape = shape ,
@@ -957,7 +958,7 @@ def test_custom_refwcs_pixel_shape_imaging(nircam_rate, tmp_path):
957
958
im .data [:, :] = rng .random (im .data .shape )
958
959
959
960
crpix = (600 , 550 )
960
- crval = (22.04 , 11.98 )
961
+ crval = (22.04019 , 11.98262 )
961
962
rotation = 15
962
963
ratio = 0.7
963
964
0 commit comments