obs_config_Calibration_FLAT.yaml 2.33 KB
Newer Older
Zhang Xin's avatar
Zhang Xin committed
1
2
3
4
5
---
###############################################
#
#  Configuration file for CSST simulation
#  For single exposure type:
6
#                FLAT
Zhang Xin's avatar
Zhang Xin committed
7
8
9
10
11
#  CSST-Sim Group, 2024/01/08
#
###############################################

# Observation type
12
13
14
obs_type: "FLAT"
obs_type_code: "128"
obs_id: "00000001"
Zhang Xin's avatar
Zhang Xin committed
15
# Define list of chips
16
run_chips: [17]
Zhang Xin's avatar
Zhang Xin committed
17
18
19
20
21
22

# Define observation sequence
call_sequence:
  # Accumulate fluxes from objects
  led_calib_model:
    #"LED": ['LED1','LED2','LED3','LED4','LED5','LED6','LED7','LED8','LED9','LED10','LED11','LED12','LED13','LED14'] or null
23
24
25
    #'LED1': '275', 'LED2': '310', 'LED3': '430', 'LED4': '505', 'LED5': '525', 'LED6': '590', 'LED7': '670',
    #'LED8': '760', 'LED9': '880', 'LED10': '940', 'LED11': '1050', 'LED12': '1550','LED13': '340', 'LED14': '365'
    LED_TYPE: ['LED13']
Zhang Xin's avatar
Zhang Xin committed
26
    LED_TIME: [1.]
27
28
    # if open shutter effect, led time must be >=2.6s 
    shutter_effect: NO
Zhang Xin's avatar
Zhang Xin committed
29
  
30
31
32
33
34

  # flat_level: set the total skybackground value (e-) in the exptime,if none,set null, or delete the key
  # flat_level_filt: the vale of "flat_level" is in the filter "flat_level_filt", can set NUV, u, g, r, i, z, y, if 
  # none,set null,or delete the key

35
36
37
38
39
40
41
  # sky_background:
  #   exptime: 150. # [s]
  #   shutter_effect: YES
  #   flat_fielding: YES
  #   enable_straylight_model: YES
  #   flat_level: 20000
  #   flat_level_filt: g
42

Zhang Xin's avatar
Zhang Xin committed
43
44
45
  # Apply PRNU to accumulated photons
  PRNU_effect: {}
  # Accumulate photons caused by cosmic rays
46
47
48
49
50
  cosmic_rays:
  # [Optional]: exposure time of the pointing will be used as default.
    # Set it here is you want to override the default
    # exptime: 150. # [s]
    save_cosmic_img:  NO # # Whether to export cosmic ray image
Zhang Xin's avatar
Zhang Xin committed
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
  # Add Poission noise and dark current
  poisson_and_dark:
    add_dark: YES
  # Simulate brighter fatter effects
  bright_fatter: {}
  # Add detector defects: hot/warm pixels, bad columns
  detector_defects:
    hot_pixels: YES
    dead_pixels: YES
    bad_columns: YES
  # Apply response nonlinearity
  nonlinearity: {}
  # Apply CCD Saturation & Blooming
  blooming: {}
  # # Run CTE simulation
  CTE_effect: {}
  # Add prescan and overscan
68
69
  prescan_overscan: 
    add_dark: YES
Zhang Xin's avatar
Zhang Xin committed
70
71
72
73
74
75
76
77
78
79
  # Add bias
  bias:
    bias_16channel: YES
  # Add readout noise
  readout_noise: {}
  # Apply gain
  gain:
    gain_16channel: YES
  # Output the final image
  quantization_and_output:
80
    format_output: YES
Zhang Xin's avatar
Zhang Xin committed
81
...