Commit 346395c5 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 5c4a3a79
Loading
Loading
Loading
Loading
Loading
+7 −7
Original line number Original line Diff line number Diff line
@@ -2508,8 +2508,8 @@ class IFSsimulator():




# #############################################################################
# #############################################################################

#

#
    def applyPoissonNoise(self):
    def applyPoissonNoise(self):


        """
        """
@@ -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
@@ -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)
@@ -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