Commit 210830c7 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 100bd12d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2108,7 +2108,7 @@ class MCIsimulator():
                    
                    siliconsensor.accumulate(photons, image)   
                    
                    photons=galsim.PhotonArray.makeFromImage(image, max_flux=1.0)
                    photons=galsim.PhotonArray.makeFromImage(image, max_flux=max(1.0, stamp_img.array.max()/100000.0))
                    
                    cx0,cy0=centroid(image.array)