Loading csst_mci_sim/csst_mci_sim.py +2 −2 Original line number Diff line number Diff line Loading @@ -2218,7 +2218,7 @@ class MCIsimulator(): st_magz.append(zmag) self.log.info('load star catlog 888888888888') self.log.info('begin cal PSF') ###################################################################### psf=dict() Loading Loading @@ -2260,7 +2260,7 @@ class MCIsimulator(): ################################################# photons=galsim.PhotonArray.makeFromImage(stamp_img, max_flux=min(1.0, stamp_img.array.max()/10000.0)) photons=galsim.PhotonArray.makeFromImage(stamp_img, max_flux=max(1.0, stamp_img.array.max()/100000.0)) cx0,cy0=centroid(stamp_img.array) Loading Loading
csst_mci_sim/csst_mci_sim.py +2 −2 Original line number Diff line number Diff line Loading @@ -2218,7 +2218,7 @@ class MCIsimulator(): st_magz.append(zmag) self.log.info('load star catlog 888888888888') self.log.info('begin cal PSF') ###################################################################### psf=dict() Loading Loading @@ -2260,7 +2260,7 @@ class MCIsimulator(): ################################################# photons=galsim.PhotonArray.makeFromImage(stamp_img, max_flux=min(1.0, stamp_img.array.max()/10000.0)) photons=galsim.PhotonArray.makeFromImage(stamp_img, max_flux=max(1.0, stamp_img.array.max()/100000.0)) cx0,cy0=centroid(stamp_img.array) Loading