@@ -153,29 +153,29 @@ def test_moffat_properties():
153153 cen = galsim .PositionD (0 , 0 )
154154 np .testing .assert_equal (psf .centroid , cen )
155155 # Check Fourier properties
156- np .testing .assert_array_almost_equal (psf .maxk , 11.634597424960159 )
157- np .testing .assert_array_almost_equal (psf .stepk , 0.62831853071795873 )
158- np .testing .assert_array_almost_equal (psf .kValue (cen ), test_flux + 0j )
159- np .testing .assert_array_almost_equal (psf .half_light_radius , 1.0 )
160- np .testing .assert_array_almost_equal (psf .fwhm , fwhm_backwards_compatible )
161- np .testing .assert_array_almost_equal (psf .xValue (cen ), 0.50654651638242509 )
162- np .testing .assert_array_almost_equal (psf .kValue (cen ), (1 + 0j ) * test_flux )
163- np .testing .assert_array_almost_equal (psf .flux , test_flux )
164- np .testing .assert_array_almost_equal (psf .xValue (cen ), psf .max_sb )
156+ np .testing .assert_almost_equal (psf .maxk , 11.634597424960159 )
157+ np .testing .assert_almost_equal (psf .stepk , 0.62831853071795873 )
158+ np .testing .assert_almost_equal (psf .kValue (cen ), test_flux + 0j )
159+ np .testing .assert_almost_equal (psf .half_light_radius , 1.0 )
160+ np .testing .assert_almost_equal (psf .fwhm , fwhm_backwards_compatible )
161+ np .testing .assert_almost_equal (psf .xValue (cen ), 0.50654651638242509 )
162+ np .testing .assert_almost_equal (psf .kValue (cen ), (1 + 0j ) * test_flux )
163+ np .testing .assert_almost_equal (psf .flux , test_flux )
164+ np .testing .assert_almost_equal (psf .xValue (cen ), psf .max_sb )
165165
166166 # Now create the same profile using the half_light_radius:
167167 psf = galsim .Moffat (beta = 2.0 , half_light_radius = 1. ,
168168 trunc = 2 * fwhm_backwards_compatible , flux = test_flux )
169169 np .testing .assert_equal (psf .centroid , cen )
170- np .testing .assert_array_almost_equal (psf .maxk , 11.634597424960159 )
171- np .testing .assert_array_almost_equal (psf .stepk , 0.62831853071795862 )
172- np .testing .assert_array_almost_equal (psf .kValue (cen ), test_flux + 0j )
173- np .testing .assert_array_almost_equal (psf .half_light_radius , 1.0 )
174- np .testing .assert_array_almost_equal (psf .fwhm , fwhm_backwards_compatible )
175- np .testing .assert_array_almost_equal (psf .xValue (cen ), 0.50654651638242509 )
176- np .testing .assert_array_almost_equal (psf .kValue (cen ), (1 + 0j ) * test_flux )
177- np .testing .assert_array_almost_equal (psf .flux , test_flux )
178- np .testing .assert_array_almost_equal (psf .xValue (cen ), psf .max_sb )
170+ np .testing .assert_almost_equal (psf .maxk , 11.634597424960159 )
171+ np .testing .assert_almost_equal (psf .stepk , 0.62831853071795862 )
172+ np .testing .assert_almost_equal (psf .kValue (cen ), test_flux + 0j )
173+ np .testing .assert_almost_equal (psf .half_light_radius , 1.0 )
174+ np .testing .assert_almost_equal (psf .fwhm , fwhm_backwards_compatible )
175+ np .testing .assert_almost_equal (psf .xValue (cen ), 0.50654651638242509 )
176+ np .testing .assert_almost_equal (psf .kValue (cen ), (1 + 0j ) * test_flux )
177+ np .testing .assert_almost_equal (psf .flux , test_flux )
178+ np .testing .assert_almost_equal (psf .xValue (cen ), psf .max_sb )
179179
180180 # Check input flux vs output flux
181181 for inFlux in np .logspace (- 2 , 2 , 10 ):
0 commit comments