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
csst-sims
csst_mci_sim
Commits
6242c2a8
Commit
6242c2a8
authored
Apr 15, 2024
by
Yan Zhaojun
Browse files
debug
parent
15730a98
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
6242c2a8
...
...
@@ -5071,13 +5071,13 @@ class MCIsimulator():
##############################################################################################
##############################################################################################
sourcelist
=
[
'EXDF'
,
'STAR'
,
'PIPR'
,
'TRNS'
,
'COMB'
,
'CALI'
,
'DARK'
,
'BIAS'
,
'FLAT'
]
if
self
.
source
not
in
sourcelist
:
sourcelist
=
[
'EXDF'
,
'STAR'
,
'PIPR'
,
'TRNS'
,
'COMB'
,
'CALI'
]
cli_list
=
[
'FLAT'
,
'BIAS'
,
'DARK'
]
if
self
.
source
not
in
sourcelist
or
not
in
cli_list
:
print
(
'Sourcein is wrong'
)
sys
.
exit
(
1
)
self
.
information
[
'ver'
]
=
'01'
self
.
_loadGhostModel
()
self
.
load_filter_PSF
()
...
...
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