Commit 291df315 authored by Wei Chengliang's avatar Wei Chengliang
Browse files

reset drawImage-method to default

parent c0c380ab
Pipeline #7404 passed with stage
in 0 seconds
...@@ -201,7 +201,7 @@ class Galaxy(MockObject): ...@@ -201,7 +201,7 @@ class Galaxy(MockObject):
# gal = self.bfrac * bulge + (1.0 - self.bfrac - kfrac) * disk + kfrac * knots # gal = self.bfrac * bulge + (1.0 - self.bfrac - kfrac) * disk + kfrac * knots
# stamp = gal.drawImage(wcs=chip_wcs_local, method='phot', offset=offset, save_photons=True) # stamp = gal.drawImage(wcs=chip_wcs_local, method='phot', offset=offset, save_photons=True)
stamp = gal.drawImage(method='no_pixel', wcs=chip_wcs_local, offset=offset) stamp = gal.drawImage(wcs=chip_wcs_local, offset=offset)
if np.sum(np.isnan(stamp.array)) > 0: if np.sum(np.isnan(stamp.array)) > 0:
# ERROR happens # ERROR happens
return 2, pos_shear return 2, pos_shear
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment