Commit ec9b0275 authored by Zhang Xin's avatar Zhang Xin
Browse files

Merge branch 'develop' of https://csst-tb.bao.ac.cn/code/csst-sims/csst_msc_sim into develop

parents 6285580e 6d067f21
Pipeline #10712 passed with stage
in 0 seconds
......@@ -20,7 +20,7 @@ def add_prescan_overscan(self, chip, filt, tel, pointing, catalog, obs_param):
if obs_param["add_dark"] is True:
ny = int(chip.npix_y/2)
base_dark = (ny-1)*(chip.readout_time/ny)*chip.dark_noise
chip.img.array[(chip.prescan_y+ny):-(chip.prescan_y+ny), :] = base_dark
chip.img.array[(chip.prescan_y+ny):-(chip.prescan_y+ny), :] += base_dark
return chip, filt, tel, pointing
......
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