ObservationSim.cfg 6.58 KB
Newer Older
Fang Yuedong's avatar
Fang Yuedong committed
1
2
3
4
5
6
7
##################################################
#  Default configuration for CSSOS simulation    #
#     CSST-Sim Group, 2021/01/04, version 0.2    #
#                                                #
##################################################

# Observation setting
Fang Yuedong's avatar
Fang Yuedong committed
8
9
date_obs      210525                  # Observation date [yymmdd]
time_obs      120000                  # Observation time [hhmmss]
10
exp_time      150.                    # Exposure time [seconds]
Fang Yuedong's avatar
Fang Yuedong committed
11
12
13
ra_center     60.0                    # Telesscope pointing center [degree] (Default)
dec_center   -40.0                     
psf_rcont     0.15,0.8                # Radius of the 80% flux concentration (for a Gaussian PSF)
Xin Zhang's avatar
Xin Zhang committed
14
image_rot    -113.4333                # Image orientation [degree]
Fang Yuedong's avatar
Fang Yuedong committed
15
16
17
18
19
20
21
sigma_spin    0.0                     # Image spin [degree]
rotateEll     0.0                     # Rotate the intrinsic ellipticity by a given angle  
                                      # (currently only support 0.0, 45.0, 90.0, 135.0 [degree])
survey_type   Photometric             # Survey simulation option:
                                      # 'Photometric': only run sims for photometric chips
                                      # 'Spectroscopic': only run sims for spectroscopic chps
                                      # 'All': run sims for all chips
22
psf_model     Interp                  # Which PSF model to use:
Fang Yuedong's avatar
Fang Yuedong committed
23
24
25
26
27
28
29
                                      # 'Gauss': simple gaussin profile
                                      # 'Interp': Interpolated PSF from measured data 

#===========================================================
# Instrument effects
#===========================================================
field_dist       y                    # Y/N: Whether to add field distortion
30
31
32
add_back         y                    # Y/N: Whether to add sky background
add_dark         y                    # Y/N: Whether to add dark noise
add_readout      y                    # Y/N: Whether to add read-out (Gaussian) noise
Fang Yuedong's avatar
Fang Yuedong committed
33
34
add_bias         y                    # Y/N: Whether to add bias-level to image
shutter_effect   y                    # Y/N: Whether to apply shutter effect
Fang Yuedong's avatar
Fang Yuedong committed
35
shutter_output   n                    # Y/N: Whether to export shutter effect 16-bit image (<=65535)
Fang Yuedong's avatar
Fang Yuedong committed
36
37
38
39
40
flat_fielding    y                    # Y/N: Whether to add flat-fielding effect
bias_output      y                    # Y/N: Whether to export bias frames
dark_output      y                    # Y/N: Whether to export the combined dark current file
flat_output      y                    # Y/N: Whether to export the combined flat-field file
prnu_effect      y                    # Y/N: Whether to apply PRNU effect
Fang Yuedong's avatar
Fang Yuedong committed
41
42
prnu_output      n                    # Y/N: Whether to export the PRNU (pixel-to-pixel flat-fielding) file
non_linear       n                    # Y/N: Whether to apply non-linearity
Fang Yuedong's avatar
Fang Yuedong committed
43
cosmic_ray       y                    # Y/N: Whether to add cosmic-ray
Fang Yuedong's avatar
Fang Yuedong committed
44
cray_differ      y                    # Y/N: Different cosmic-ray for calibration files or not
Fang Yuedong's avatar
Fang Yuedong committed
45
46
47
48
49
50
51
52
53
54
55
cte_trail        y                    # Y/N: Whether to simulate CTE trails
saturbloom       y                    # Y/N: Whether to simulate Saturation and Blooming
add_badcolumns   y                    # Y/N: Whether to add bad columns
add_hotpixels    y                    # Y/N: Whether to add hot pixels
add_deadpixels   y                    # Y/N: Whether to add dead(dark) pixels
readout16        n                    # Y/N: Whether to export as 16 subimages (channels) with pre- and over-scan
bright_fatter    y                    # Y/N: Whether to add brighter-fatter (also electron diffusion) effects
df_strength      2.3                  # Sillicon sensor diffusion strength
bias_level       500                  # e-/pixel
gain             1.1                  # Gain
full_well        90000                # Full well level [e-]
Fang Yuedong's avatar
Fang Yuedong committed
56
57
58
59
60
NBias            1                    # Number of frames to be exported
NDark            1                    # Number of frames to be exported
NFlat            1                    # Number of frames to be exported
dark_exptime     300                  # Exposure time for dark current frame
flat_exptime     150                  # Exposure time for flat field frame
61
readout_time     40                   # Time for read-out by each channel
Fang Yuedong's avatar
Fang Yuedong committed
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

#===========================================================
# Shear method
#===========================================================
shear_method  constant                # Only two methods are provided to generate mock shear field:
                                      # 'constant': all galaxies are assigned a constant reduced shear,
                                      #             but with different betas (orientations)
                                      # 'extra'   : from catalog(s) (not available yet)

# Constant shear field
reduced_g1  0.026                     # g1 component when 'shear_method'='constant'
reduced_g2  0.015                     # g2 component when 'shear_method'='constant'
reShear     E                         # Representation of the shear vertor

# Extra shear file
# shear_cat   mockShear.cat           # Extra provided shear catalog (currently not used)

#===========================================================
# Output directories
#===========================================================
mockImgDir    TEST                    # Name of subdirectory to save the mock image

#===========================================================
# Random Seeds
#===========================================================
seed_mock            12345678         # Seed for generating random values of ra, dec and av
seed_star            121212121        # Seed for generating random redshift, sed_type for stars
seed_gal             212121212        # Seed for generating random redshift, sed_type for galaxies
seed_Av              121212           # Seed for generating random intrinsic extinction
91
seed_poisson         20210601         # Seed for Poisson noise
Fang Yuedong's avatar
Fang Yuedong committed
92
93
94
95
96
97
98
99
seed_CR              20210317         # Seed for generating random cosmic ray map
seed_flat            20210101         # Seed for generating random flat field
seed_prnu            20210102         # Seed for photo-response non-uniformity
seed_skynoise        20210201         # Seed for sky noise
seed_gainNonUniform  20210202         # Seed for Gain nonuniformity
seed_biasNonUniform  20210203         # Seed for Bias nonuniformity
seed_rnNonUniform    20210204         # Seed for ReadNoise nonuniformity
seed_badcolumns      20240309         # Initial Seed for Bad Columns
100
101
seed_defective       20210304         # Seed for Defective(bad) pixels
seed_readout         20210601         # Seed for Read-out gaussian noise