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
Liu Dezi
csst_msc_sim
Commits
b3dade42
Commit
b3dade42
authored
Jul 27, 2023
by
Zhang Xin
Browse files
fix bug, earthshine and starlight is 0 for QE file wavelength unit is nm
parent
9f1aaa66
Changes
2
Hide whitespace changes
Inline
Side-by-side
ObservationSim/Straylight/Straylight.py
View file @
b3dade42
...
...
@@ -188,6 +188,7 @@ class Straylight(object):
band_s
=
2000
band_e
=
11000
q_ccd_f
[:,
0
]
=
q_ccd_f
[:,
0
]
*
10
q_ccd
=
np
.
zeros
([
q_ccd_f
.
shape
[
0
]
+
2
,
q_ccd_f
.
shape
[
1
]])
q_ccd
[
1
:
-
1
,:]
=
q_ccd_f
q_ccd
[
0
]
=
[
band_s
,
0
]
...
...
setup.py
View file @
b3dade42
...
...
@@ -54,6 +54,7 @@ setup(name='CSSTSim',
'Catalog.data'
:
[
'*.fits'
],
'ObservationSim.Config.Header'
:[
'*.header'
,
'*.lst'
],
'ObservationSim.Straylight.data'
:
[
'*.dat'
],
'ObservationSim.Straylight.data.sky'
:
[
'*.dat'
],
'ObservationSim.Straylight.lib'
:
[
'*'
],
},
ext_modules
=
cythonize
(
extensions
),
...
...
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