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

debug

parent 100bd12d
......@@ -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)
......
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