Commit 2e4d01ad authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 2310a47d
Pipeline #7147 failed with stage
in 0 seconds
[TEST]
#qudrant [0,1,2,3], CCDx/y [0,1,2,3,4,5], and CCDxgap/ygap in mm
quadrant = 0
CCDx = 0
CCDy = 0
CCDxgap = 1.643
CCDygap = 8.116
sky_fitsin =IFS_inputdata/FengshuaiData/NGC3359_S4301.fits
result_path =ifs_sim_result
bianpai_file=NGC3359_sequence_300x20_bkg.csv
### simulation software version
sim_ver=10
#size of the output image array
bluesize = 4000
redsize = 6000
prescan =50
overscan =320
#CCD properties
fullwellcapacity = 90000
#dark noise in electrons per second
dark = 0.0008333
dark1_b=0.0008
dark2_b=0.00085
dark3_b=0.00088
dark4_b=0.00083
dark1_r=0.00081
dark2_r=0.00084
dark3_r=0.00086
dark4_r=0.00085
#readout noise in electrons [default=4.5]
readout = 4.0
rn1_b=4.0
rn2_b=3.5
rn3_b=4.5
rn4_b=4.8
rn1_r=4.0
rn2_r=3.9
rn3_r=4.8
rn4_r=4.9
#bias level to add in electrons [default=1000]
bias = 500.0
bias1_b=500
bias2_b=525
bias3_b=485
bias4_b=515
bias1_r=510
bias2_r=515
bias3_r=495
bias4_r=512
#background in photoelectrons per second
background = yes
#electron/ADU conversion factor
gain1_b=1.51
gain2_b=1.58
gain3_b=1.48
gain4_b=1.55
gain1_r=1.52
gain2_r=1.55
gain3_r=1.49
gain4_r=1.53
#exposure to simulate, exposure time and position on the sky (in degrees)
exptime = 300.0
exposuretimes=3
##############################################
#radiation dosage at end of mission for CTI (at 10MeV protons)
rdose = 8.0e9
#charge trap information file
parallelTrapfile =IFS_inputdata/cdm_euclid_parallel.dat
serialTrapfile =IFS_inputdata/cdm_euclid_serial.dat
#cosmetic defects input file
cosmeticsFile_b =IFS_inputdata/Cosmetics_b.txt
cosmeticsFile_r =IFS_inputdata/Cosmetics_r.txt
###comicray information file
cosmicraylengths=IFS_inputdata/cdf_cr_length.dat
cosmicraydistance=IFS_inputdata/cdf_cr_total.dat
#apply multiplicative flatfield (to emulate pixel-to-pixel non-uniformity)?
flatfieldM = yes
sigma=0.01
#Control flags (can be yes/no, true/false, 1/0)
#add noise?
darknoise = yes
#add sky noise?
sky_noise=yes
#apply cosmetic defects?
cosmetics = yes
#apply radiation damage model?
radiationDamage = yes
#add cosmic rays?
cosmicRays = yes
coveringFraction=0.1
#apply bleeding effect?
bleeding = yes
#apply non-linearity model?
nonlinearity = yes
#readout Noise
readoutnoise=yes
#save cosmicrays map
save_cosmicrays=no
#apply bianpai
appbianpai=yes
...@@ -38,9 +38,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -38,9 +38,9 @@ class TestDemoFunction(unittest.TestCase):
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)
print(sys.version) print(sys.version)
# ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config' # ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C10.config'
configfile = './csst_ifs_sim/ifs_data/IFS_sim_C90.config' configfile = './csst_ifs_sim/ifs_data/IFS_sim_C10.config'
sourcein = 'SCI' sourcein = 'SCI'
print(configfile) print(configfile)
...@@ -77,9 +77,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -77,9 +77,9 @@ class TestDemoFunction(unittest.TestCase):
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)
print(sys.version) print(sys.version)
# ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config' # ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C10.config'
configfile = './csst_ifs_sim/ifs_data/IFS_sim_C90.config' configfile = './csst_ifs_sim/ifs_data/IFS_sim_C10.config'
sourcein = 'BIAS' sourcein = 'BIAS'
print(configfile) print(configfile)
...@@ -115,9 +115,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -115,9 +115,9 @@ class TestDemoFunction(unittest.TestCase):
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)
print(sys.version) print(sys.version)
# ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config' # ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C10.config'
configfile = './csst_ifs_sim/ifs_data/IFS_sim_C90.config' configfile = './csst_ifs_sim/ifs_data/IFS_sim_C10.config'
sourcein = 'DARK' sourcein = 'DARK'
print(configfile) print(configfile)
...@@ -153,9 +153,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -153,9 +153,9 @@ class TestDemoFunction(unittest.TestCase):
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)
print(sys.version) print(sys.version)
# ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config' # ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C10.config'
configfile = './csst_ifs_sim/ifs_data/IFS_sim_C90.config' configfile = './csst_ifs_sim/ifs_data/IFS_sim_C10.config'
sourcein = 'LAMP' sourcein = 'LAMP'
print(configfile) print(configfile)
...@@ -192,9 +192,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -192,9 +192,9 @@ class TestDemoFunction(unittest.TestCase):
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)
print(sys.version) print(sys.version)
# ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config' # ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C10.config'
configfile = './csst_ifs_sim/ifs_data/IFS_sim_C90.config' configfile = './csst_ifs_sim/ifs_data/IFS_sim_C10.config'
sourcein = 'LAMP' sourcein = 'LAMP'
print(configfile) print(configfile)
...@@ -229,9 +229,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -229,9 +229,9 @@ class TestDemoFunction(unittest.TestCase):
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)
print(sys.version) print(sys.version)
# ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config' # ##configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C10.config'
configfile = './csst_ifs_sim/ifs_data/IFS_sim_C90.config' configfile = './csst_ifs_sim/ifs_data/IFS_sim_C10.config'
sourcein = 'FLAT' sourcein = 'FLAT'
print(configfile) print(configfile)
......
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