Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
2 years ago
by
Zhang Xin
Browse files
Options
Download
Email Patches
Plain Diff
fix bug, earthshine and starlight is 0 for QE file wavelength unit is nm
parent
9f1aaa66
release_v2.0
11-csst
29-darktime-exptime-shtopen-shtstat-t
current_stable_for_tests
develop
liudezi-develop-patch-58263
master
new_sim
new_sim_sls
sim_scheduler
v2.1.0
internal_test_20240425
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ObservationSim/Straylight/Straylight.py
+1
-0
ObservationSim/Straylight/Straylight.py
setup.py
+1
-0
setup.py
with
2 additions
and
0 deletions
+2
-0
ObservationSim/Straylight/Straylight.py
+
1
-
0
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
]
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
-
0
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
),
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets