Loading csst_ifs_sim/csst_ifs_sim.py +7 −7 Original line number Original line Diff line number Diff line Loading @@ -2508,8 +2508,8 @@ class IFSsimulator(): # ############################################################################# # ############################################################################# # # def applyPoissonNoise(self): def applyPoissonNoise(self): """ """ Loading Loading @@ -3320,8 +3320,8 @@ class IFSsimulator(): # self.log.info( # self.log.info( # 'Applied telescope rotation with angle (in degree)= %f.', angle) # 'Applied telescope rotation with angle (in degree)= %f.', angle) ############################################################################### ############################################################################### # # def CCDreadout(self): def CCDreadout(self): """ """ Returns Returns Loading Loading @@ -5347,7 +5347,7 @@ class IFSsimulator(): # fits.writeto('subimage.fits',subimage.array,overwrite=True) # fits.writeto('subimage.fits',subimage.array,overwrite=True) ######################## get photons from sub-image ##################### # #### get photons from sub-image ##################### subimage.scale = self.pixelscale subimage.scale = self.pixelscale subimage.setOrigin(0, 0) subimage.setOrigin(0, 0) Loading Loading @@ -5377,8 +5377,8 @@ class IFSsimulator(): # sensor = galsim.Sensor() # sensor = galsim.Sensor() # sensor.accumulate(rotphotons, sliceimage) # sensor.accumulate(rotphotons, sliceimage) ######################### finish testing ####################################################### # ######### finish testing ############################# ####################################################################################################### ############################################################## ##################################### ##################################### # find photons for blue channel, and make the flux multiple the optical and CCD efficiency # find photons for blue channel, and make the flux multiple the optical and CCD efficiency Loading Loading
csst_ifs_sim/csst_ifs_sim.py +7 −7 Original line number Original line Diff line number Diff line Loading @@ -2508,8 +2508,8 @@ class IFSsimulator(): # ############################################################################# # ############################################################################# # # def applyPoissonNoise(self): def applyPoissonNoise(self): """ """ Loading Loading @@ -3320,8 +3320,8 @@ class IFSsimulator(): # self.log.info( # self.log.info( # 'Applied telescope rotation with angle (in degree)= %f.', angle) # 'Applied telescope rotation with angle (in degree)= %f.', angle) ############################################################################### ############################################################################### # # def CCDreadout(self): def CCDreadout(self): """ """ Returns Returns Loading Loading @@ -5347,7 +5347,7 @@ class IFSsimulator(): # fits.writeto('subimage.fits',subimage.array,overwrite=True) # fits.writeto('subimage.fits',subimage.array,overwrite=True) ######################## get photons from sub-image ##################### # #### get photons from sub-image ##################### subimage.scale = self.pixelscale subimage.scale = self.pixelscale subimage.setOrigin(0, 0) subimage.setOrigin(0, 0) Loading Loading @@ -5377,8 +5377,8 @@ class IFSsimulator(): # sensor = galsim.Sensor() # sensor = galsim.Sensor() # sensor.accumulate(rotphotons, sliceimage) # sensor.accumulate(rotphotons, sliceimage) ######################### finish testing ####################################################### # ######### finish testing ############################# ####################################################################################################### ############################################################## ##################################### ##################################### # find photons for blue channel, and make the flux multiple the optical and CCD efficiency # find photons for blue channel, and make the flux multiple the optical and CCD efficiency Loading