Commit f3abcf15 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update setup.py

parent 49555558
Pipeline #3966 failed with stage
in 0 seconds
...@@ -1264,8 +1264,9 @@ class IFSsimulator(): ...@@ -1264,8 +1264,9 @@ class IFSsimulator():
Stores the information to a dictionary called cr. Stores the information to a dictionary called cr.
""" """
self.log.info('Reading in cosmic ray information from %s and %s' % (self.information['cosmicraylengths'], # self.log.info('Reading in cosmic ray information from %s and %s' % (self.information['cosmicraylengths'],
self.information['cosmicraydistance'])) # self.information['cosmicraydistance']))
crLengths = np.loadtxt( crLengths = np.loadtxt(
self.information['dir_path']+self.information['cosmicraylengths']) self.information['dir_path']+self.information['cosmicraylengths'])
crDists = np.loadtxt( crDists = np.loadtxt(
...@@ -1396,7 +1397,7 @@ class IFSsimulator(): ...@@ -1396,7 +1397,7 @@ class IFSsimulator():
dir_path = os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/') dir_path = os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/')
print(dir_path) print(dir_path)
self.result_path = dir_path+'/ifs_sim_result/'+result_day self.result_path = dir_path+'/ifs_sim_result/'+self.source+ss+result_day
if os.path.isdir(self.result_path) == False: if os.path.isdir(self.result_path) == False:
os.mkdir(self.result_path) os.mkdir(self.result_path)
......
...@@ -93,17 +93,17 @@ exposuretimes=3 ...@@ -93,17 +93,17 @@ exposuretimes=3
rdose = 8.0e9 rdose = 8.0e9
#charge trap information file #charge trap information file
parallelTrapfile =/IFS_inputdata/cdm_euclid_parallel.dat parallelTrapfile =IFS_inputdata/cdm_euclid_parallel.dat
serialTrapfile =/IFS_inputdata/cdm_euclid_serial.dat serialTrapfile =IFS_inputdata/cdm_euclid_serial.dat
#cosmetic defects input file #cosmetic defects input file
cosmeticsFile_b =/IFS_inputdata/Cosmetics_b.txt cosmeticsFile_b =IFS_inputdata/Cosmetics_b.txt
cosmeticsFile_r =/IFS_inputdata/Cosmetics_r.txt cosmeticsFile_r =IFS_inputdata/Cosmetics_r.txt
###comicray information file ###comicray information file
cosmicraylengths=IFS_inputdata/cdf_cr_length.dat cosmicraylengths =IFS_inputdata/cdf_cr_length.dat
cosmicraydistance=IFS_inputdata/cdf_cr_total.dat cosmicraydistance=IFS_inputdata/cdf_cr_total.dat
#apply multiplicative flatfield (to emulate pixel-to-pixel non-uniformity)? #apply multiplicative flatfield (to emulate pixel-to-pixel non-uniformity)?
......
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