Skip to content

Commit

Permalink
TST remove round test
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Jun 30, 2022
1 parent 6772a42 commit abd6658
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ngmix/tests/test_prepsfmom.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,10 @@ def test_prepsfmom_gauss(
@pytest.mark.parametrize('fwhm,psf_fwhm', [(2.0, 1.0)])
@pytest.mark.parametrize('image_size', [53])
@pytest.mark.parametrize('pad_factor', [1.5])
@pytest.mark.parametrize('round', [True, False])
@pytest.mark.parametrize('fwhm_smooth', [0, 1])
def test_prepsfmom_mn_cov_psf(
pad_factor, image_size, fwhm, psf_fwhm, pixel_scale, snr, mom_fwhm, cls,
fwhm_smooth, round,
fwhm_smooth,
):
"""Slower test to make sure means and errors are right
w/ tons of monte carlo samples.
Expand Down Expand Up @@ -434,11 +433,9 @@ def test_prepsfmom_mn_cov_psf(
)
psf = galsim.Gaussian(
fwhm=psf_fwhm
).shear(
g1=0.3, g2=-0.15
)
if not round:
psf = psf.shear(
g1=0.3, g2=-0.15
)
im = galsim.Convolve([gal, psf]).drawImage(
nx=image_size,
ny=image_size,
Expand Down

0 comments on commit abd6658

Please sign in to comment.