Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Wu Jin
CSST simulation
Commits
f320dc0b
Commit
f320dc0b
authored
Mar 11, 2022
by
Xin Zhang
Browse files
delete useless file(sls sim)
parent
79d90a4e
Changes
186
Hide whitespace changes
Inline
Side-by-side
ObservationSim/Instrument/data/sls_conf/sensfile/CSST_GV3_sensitivity_1st.fits
deleted
100644 → 0
View file @
79d90a4e
File deleted
ObservationSim/Instrument/data/sls_conf/sensfile/CSST_GV5_sensitivity_0st.fits
deleted
100644 → 0
View file @
79d90a4e
File deleted
ObservationSim/Instrument/data/sls_conf/sensfile/CSST_GV5_sensitivity_1st.fits
deleted
100644 → 0
View file @
79d90a4e
File deleted
ObservationSim/Instrument/data/sls_conf/sensfile/CSST_GV7_sensitivity_0st.fits
deleted
100644 → 0
View file @
79d90a4e
File deleted
ObservationSim/Instrument/data/sls_conf/sensfile/CSST_GV7_sensitivity_1st.fits
deleted
100644 → 0
View file @
79d90a4e
File deleted
ObservationSim/MockObject/SpecDisperser/SpecDisperser.py
View file @
f320dc0b
...
@@ -134,15 +134,16 @@ class SpecDisperser(object):
...
@@ -134,15 +134,16 @@ class SpecDisperser(object):
bean_thr_spec
=
beam_thr
*
spec_sample
bean_thr_spec
=
beam_thr
*
spec_sample
ysensitivity
=
lam_beam
*
0
###generate sensitivity file for aXe
# ysensitivity = lam_beam * 0
ysensitivity
[
lam_index
]
=
interp
.
interp_conserve_c
(
lam_beam
[
lam_index
],
lam_intep
,
#
beam_thr
*
math
.
pi
*
100
*
100
*
1e-7
/
(
# ysensitivity[lam_index] = interp.interp_conserve_c(lam_beam[lam_index], lam_intep,
cons
.
h
.
value
*
cons
.
c
.
value
/
(
# beam_thr * math.pi * 100 * 100 * 1e-7 / (
lam_intep
*
1e-10
)),
integrate
=
0
,
left
=
0
,
# cons.h.value * cons.c.value / (
right
=
0
)
# lam_intep * 1e-10)), integrate=0, left=0,
# right=0)
self
.
writerSensitivityFile
(
conffile
=
self
.
grating_conf_file
,
beam
=
beam
,
w
=
lam_beam
[
lam_index
],
sens
=
ysensitivity
[
lam_index
])
#
# self.writerSensitivityFile(conffile = self.grating_conf_file, beam = beam, w = lam_beam[lam_index], sens = ysensitivity[lam_index])
ysens
[
lam_index
]
=
interp
.
interp_conserve_c
(
lam_beam
[
lam_index
],
lam_intep
,
bean_thr_spec
,
integrate
=
1
,
left
=
0
,
ysens
[
lam_index
]
=
interp
.
interp_conserve_c
(
lam_beam
[
lam_index
],
lam_intep
,
bean_thr_spec
,
integrate
=
1
,
left
=
0
,
right
=
0
)
right
=
0
)
...
...
Prev
1
…
6
7
8
9
10
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment