Commit 100bd12d authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 8b37df7a
Pipeline #4395 passed with stage
in 0 seconds
...@@ -2088,6 +2088,7 @@ class MCIsimulator(): ...@@ -2088,6 +2088,7 @@ class MCIsimulator():
cx0,cy0=centroid(stamp_img.array) cx0,cy0=centroid(stamp_img.array)
if self.appFatt : if self.appFatt :
self.log.info('begin appfat ........')
### apply treering and bright fatter and diffusion; ### apply treering and bright fatter and diffusion;
SimpleTreeRing = galsim.SiliconSensor().simple_treerings(amplitude=self.information['treering']) SimpleTreeRing = galsim.SiliconSensor().simple_treerings(amplitude=self.information['treering'])
...@@ -2111,6 +2112,9 @@ class MCIsimulator(): ...@@ -2111,6 +2112,9 @@ class MCIsimulator():
cx0,cy0=centroid(image.array) cx0,cy0=centroid(image.array)
self.log.info('finish appfat ........')
############################################ ############################################
############################################ ############################################
photons.x=photons.x-cx0*0.025 photons.x=photons.x-cx0*0.025
......
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