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

debug

parent 8b37df7a
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2088,6 +2088,7 @@ class MCIsimulator():
                cx0,cy0=centroid(stamp_img.array)
                
                if self.appFatt : 
                    self.log.info('begin appfat ........')
                    
                ### apply treering and bright fatter and diffusion;                        
                    SimpleTreeRing = galsim.SiliconSensor().simple_treerings(amplitude=self.information['treering'])                  
@@ -2111,6 +2112,9 @@ class MCIsimulator():
                    
                    cx0,cy0=centroid(image.array)
                    
                    
                    self.log.info('finish appfat ........')
                        
                ############################################
                ############################################
                photons.x=photons.x-cx0*0.025