Commit 992599a0 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 0176542a
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5252,6 +5252,9 @@ class IFSsimulator():
                    photons_blue.y = photons_blue.y/self.pixelscale + \
                        dy_blue+self.slice_blue['py'][k]
                        
                        
                    photons_blue.y =2048-photons_blue.y 

                    blue_sensor.accumulate(photons_blue, blue_img)

                    # energy_blue=energy_blue+sum(photons_blue.flux)
@@ -5273,6 +5276,9 @@ class IFSsimulator():
                    photons_red.y = photons_red.y/self.pixelscale + \
                        dy_red+self.slice_red['py'][k]
                        
                        
                    photons_red.y =3072-photons_red.y

                    red_sensor.accumulate(photons_red, red_img)

                    # energy_red=energy_red+sum(photons_red.flux)