Commit 54584f31 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 7184ce88
Pipeline #4073 failed with stage
in 0 seconds
......@@ -5438,11 +5438,11 @@ class MCIsimulator():
print('applyPRNUeffect')
####################################################################
if self.source in sourcelist:
if self.cosmicRays:
# if self.debug == False:
self.addCosmicRays()
print('addCosmicRays finisth')
# if self.source in sourcelist:
# if self.cosmicRays:
# # if self.debug == False:
# self.addCosmicRays()
# print('addCosmicRays finisth')
##################################################
if self.skyback:
......@@ -5463,18 +5463,18 @@ class MCIsimulator():
#################################################
if self.bleeding:
# if self.debug== False:
self.image_g=self.applyBleeding(self.image_g.copy())
self.image_r=self.applyBleeding(self.image_r.copy())
self.image_i=self.applyBleeding(self.image_i.copy())
print('apply bleeding effect finisth')
# if self.bleeding:
# # if self.debug== False:
# self.image_g=self.applyBleeding(self.image_g.copy())
# self.image_r=self.applyBleeding(self.image_r.copy())
# self.image_i=self.applyBleeding(self.image_i.copy())
# print('apply bleeding effect finisth')
################################################
# ################################################
if self.nonlinearity:
self.applyNonlinearity()
print('applyNonlinearity')
# if self.nonlinearity:
# self.applyNonlinearity()
# print('applyNonlinearity')
# ################################################
......
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