Skip to content

Commit e3ff71f

Browse files
authored
test: no need to set stepk anymore (#223)
1 parent c8714ed commit e3ff71f

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/jax/test_metacal_jax.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ def test_metacal_comp_to_galsim(nse):
163163
gsparams=jax_galsim.GSParams(minimum_fft_size=128),
164164
)
165165
iim_kwargs = {
166-
"_force_stepk": iim.stepk.item(),
167166
"_force_maxk": iim.maxk.item(),
168167
}
169168
inse = jax_galsim.InterpolatedImage(
@@ -173,14 +172,12 @@ def test_metacal_comp_to_galsim(nse):
173172
gsparams=jax_galsim.GSParams(minimum_fft_size=128),
174173
)
175174
inse_kwargs = {
176-
"_force_stepk": inse.stepk.item(),
177175
"_force_maxk": inse.maxk.item(),
178176
}
179177
ipsf = jax_galsim.InterpolatedImage(
180178
jax_galsim.ImageD(psf), scale=scale, x_interpolant="lanczos15"
181179
)
182180
ipsf_kwargs = {
183-
"_force_stepk": ipsf.stepk.item(),
184181
"_force_maxk": ipsf.maxk.item(),
185182
}
186183

@@ -303,7 +300,6 @@ def test_metacal_vmap(ntest):
303300
gsparams=jax_galsim.GSParams(minimum_fft_size=128),
304301
)
305302
iim_kwargs = {
306-
"_force_stepk": iim.stepk.item(),
307303
"_force_maxk": iim.maxk.item(),
308304
}
309305
inse = jax_galsim.InterpolatedImage(
@@ -313,14 +309,12 @@ def test_metacal_vmap(ntest):
313309
gsparams=jax_galsim.GSParams(minimum_fft_size=128),
314310
)
315311
inse_kwargs = {
316-
"_force_stepk": inse.stepk.item(),
317312
"_force_maxk": inse.maxk.item(),
318313
}
319314
ipsf = jax_galsim.InterpolatedImage(
320315
jax_galsim.ImageD(psf), scale=scale, x_interpolant="lanczos15"
321316
)
322317
ipsf_kwargs = {
323-
"_force_stepk": ipsf.stepk.item(),
324318
"_force_maxk": ipsf.maxk.item(),
325319
}
326320

@@ -423,7 +417,6 @@ def test_metacal_iimage_with_noise(nse, draw_method):
423417
scale=scale,
424418
x_interpolant="lanczos15",
425419
gsparams=_galsim.GSParams(minimum_fft_size=nk),
426-
_force_stepk=jgiim.stepk.item(),
427420
_force_maxk=jgiim.maxk.item(),
428421
)
429422

0 commit comments

Comments
 (0)