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_msc_sim
Commits
50e37e55
Commit
50e37e55
authored
Oct 26, 2024
by
Wei Chengliang
Browse files
typo fix
parent
4d79505a
Pipeline
#7122
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
observation_sim/mock_objects/SpecDisperser/SpecDisperser.py
View file @
50e37e55
...
...
@@ -336,7 +336,7 @@ class SpecDisperser(object):
orders
=
{
"A"
:
"1st"
,
"B"
:
"0st"
,
"C"
:
"2st"
,
"D"
:
"-1st"
,
"E"
:
"-2st"
}
sens_file_name
=
conffile
[
0
:
-
5
]
+
\
"_sensitivity_"
+
orders
[
beam
]
+
".fits"
if
os
.
path
.
exists
(
sens_file_name
)
i
f
False
:
if
os
.
path
.
exists
(
sens_file_name
)
i
s
False
:
senstivity_out
=
Table
(
array
([
w
,
sens
]).
T
,
names
=
(
"WAVELENGTH"
,
"SENSITIVITY"
))
senstivity_out
.
write
(
sens_file_name
,
format
=
"fits"
)
...
...
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