config_injection.yaml 2.52 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
10
11
12
# n_objects: 500
rotate_objs: NO
use_mpi: YES
run_name: "test_20230509"

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

output_img_dir: "./workspace"
input_img_list: "/share/home/fangyuedong/injection_pipeline/input_L1_img_MSC_0000000.list"
Fang Yuedong's avatar
Fang Yuedong committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

###############################################
# 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
40
  psf_dir: "/share/simudata/CSSOSDataProductsSims/data/psfCube1"
Fang Yuedong's avatar
Fang Yuedong committed
41
42
43
44
45
46

###############################################
# Input path setting
# (NOTE) Used NGP Catalog for testing
###############################################
# Default path settings for NGP footprint simulation
47
data_dir: "/share/simudata/CSSOSDataProductsSims/data/"
Fang Yuedong's avatar
Fang Yuedong committed
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

input_path:
  cat_dir: "OnOrbitCalibration/CTargets20211231"
  star_cat: "CT-NGP_r1.8_G28.hdf5"
  galaxy_cat: "galaxyCats_r_3.0_healpix_shift_192.859500_27.128300.hdf5"

SED_templates_path:
  star_SED: "Catalog_20210126/SpecLib.hdf5"
  galaxy_SED: "Templates/Galaxy/"


###############################################
# Instrumental effects setting
# (NOTE) Here only used to construct
# ObservationSim.Instrument.Chip object
# (TODO) Should readout from header
###############################################
ins_effects:
  # switches
  bright_fatter:  ON # Whether to simulate Brighter-Fatter (also diffusion) effect

  # values
70
71
72
73
74
75
76
  # 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
77
78
79
80
81
82

###############################################
# Random seeds
###############################################
random_seeds:
  seed_Av:              121212    # Seed for generating random intrinsic extinction