Commit 3f5a4c64 authored by Wei Chengliang's avatar Wei Chengliang
Browse files

update drawImage for EXTRA obj

parent b019ac2f
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -208,9 +208,7 @@ class MockObject(object):
            star = psf.withFlux(nphotons)

            if EXTRA:
                stamp = star.drawImage(
                    method="no_pixel", wcs=chip_wcs_local, offset=offset
                )
                stamp = star.drawImage(method="no_pixel", wcs=chip_wcs_local, offset=offset, nx=1024, ny=1024)
            else:
                stamp = star.drawImage(wcs=chip_wcs_local, offset=offset)
            if np.sum(np.isnan(stamp.array)) > 0: