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
a046815c
Commit
a046815c
authored
Jan 24, 2025
by
Yan Zhaojun
Browse files
update
parent
ad2dc3b5
Pipeline
#7885
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
a046815c
...
@@ -1822,7 +1822,11 @@ class MCIsimulator():
...
@@ -1822,7 +1822,11 @@ class MCIsimulator():
# ###### use SED_code to generate star SED #######
# ###### use SED_code to generate star SED #######
if
get_file_extension
(
starcat
)
==
'.fits'
:
if
get_file_extension
(
starcat
)
==
'.fits'
:
umag
=
self
.
star
[
'gmag'
][
j
];
gmag
=
self
.
star
[
'gmag'
][
j
];
rmag
=
self
.
star
[
'rmag'
][
j
];
imag
=
self
.
star
[
'imag'
][
j
];
zmag
=
self
.
star
[
'zmag'
][
j
];
umag
=
self
.
star
[
'gmag'
][
j
];
gmag
=
self
.
star
[
'gmag'
][
j
];
rmag
=
self
.
star
[
'rmag'
][
j
];
imag
=
self
.
star
[
'imag'
][
j
];
zmag
=
self
.
star
[
'zmag'
][
j
];
# SED of j-th star
# SED of j-th star
else
:
else
:
...
...
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