config_injection.yaml 3.42 KB
Newer Older
Fang Yuedong's avatar
Fang Yuedong committed
1
2
3
4
5
6
7
---
###############################################
#
#  Configuration file for CSST object injection
#      Last modified: 2022/06/19
#
###############################################
8
9
# n_objects: 500
rotate_objs: NO
10
11
12
run_name: "test_20240421"
project_cycle: 9
run_counter: 1
13

Fang Yuedong's avatar
Fang Yuedong committed
14
pos_sampling:
15
  type: "HexGrid"
16
17
  # type: "RectGrid"
  # grid_spacing: 18.5 # arcsec (~250 pixels)
18
19
20
  grid_spacing: 15 # arcsec (~500 pixels)
  # type: "uniform"
  # object_density: 37 # arcmin^-2
21

22
# output_img_dir: "/public/home/fangyuedong/project/injection_pipeline/workspace"
Fang Yuedong's avatar
Fang Yuedong committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

###############################################
# PSF setting
###############################################
psf_setting:
  
  # Which PSF model to use:
  # "Gauss": simple gaussian profile
  # "Interp": Interpolated PSF from sampled ray-tracing data
  psf_model: "Interp"

  # PSF size [arcseconds]
  # radius of 80% energy encircled
  # NOTE: only valid for "Gauss" PSF
  psf_rcont: 0.15

  # path to PSF data
  # NOTE: only valid for "Interp" PSF
41
42
  psf_pho_dir: "/public/share/yangxuliu/CSSOSDataProductsSims/dataC6/psfCube1"
  psf_sls_dir: "/share/simudata/CSSOSDataProductsSims/data/SLS_PSF_PCA_fp/"
Fang Yuedong's avatar
Fang Yuedong committed
43
44
45
46
47

###############################################
# Input path setting
###############################################
# Default path settings for NGP footprint simulation
48
49
50
51
catalog_options:
  input_path:
    cat_dir: "/public/share/yangxuliu/CSSOSDataProductsSims/data_50sqDeg/"
    galaxy_cat: "qsocat/cat2CSSTSim_bundle-50sqDeg/"
Fang Yuedong's avatar
Fang Yuedong committed
52

53
54
  SED_templates_path:
    galaxy_SED: "/public/share/yangxuliu/CSSOSDataProductsSims/data_50sqDeg/sedlibs/"
Fang Yuedong's avatar
Fang Yuedong committed
55

56
57
  # rotate galaxy ellipticity
  rotateEll: 0. # [degree]
Fang Yuedong's avatar
Fang Yuedong committed
58
59
60
61
62
63
64
65
66
67


###############################################
# Instrumental effects setting
# (NOTE) Here only used to construct
# ObservationSim.Instrument.Chip object
# (TODO) Should readout from header
###############################################
ins_effects:
  # switches
68
  # bright_fatter:  ON # Whether to simulate Brighter-Fatter (also diffusion) effect
Fang Yuedong's avatar
Fang Yuedong committed
69
70

  # values
71
72
73
74
75
76
77
  # dark_exptime:   300   # Exposure time for dark current frames [seconds]
  # flat_exptime:   150   # Exposure time for flat-fielding frames [seconds]
  # readout_time:   40    # The read-out time for each channel [seconds]
  # df_strength:    2.3   # Sillicon sensor diffusion strength
  # bias_level:     500   # bias level [e-/pixel]
  # gain:           1.1   # Gain
  # full_well:      90000 # Full well depth [e-]
Fang Yuedong's avatar
Fang Yuedong committed
78
79
80
81

###############################################
# Random seeds
###############################################
82
83
# random_seeds:
#   seed_Av:              121212    # Seed for generating random intrinsic extinction
84
85
86
87
88
89
90
91
92
93
94
95
96
97

###############################################
# Measurement setting
###############################################
measurement_setting:
  input_img_list: "/share/home/fangyuedong/injection_pipeline/injected_L1_img_MSC_0000000.list"
  # input_img_list: "/share/home/fangyuedong/injection_pipeline/input_L1_img_MSC_0000000.list"
  input_wht_list: "/share/home/fangyuedong/injection_pipeline/L1_wht_img_MSC_0000000.list"
  input_flg_list: "/share/home/fangyuedong/injection_pipeline/L1_flg_img_MSC_0000000.list"
  input_psf_list: "/share/home/fangyuedong/injection_pipeline/psf_img_MSC_0000000.list"
  sex_config: "/share/home/fangyuedong/injection_pipeline/config/default.config"
  sex_param: "/share/home/fangyuedong/injection_pipeline/config/default.param"
  n_jobs: 8
  output_dir: "/share/home/fangyuedong/injection_pipeline/workspace"