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
3868a760
Commit
3868a760
authored
Jan 20, 2025
by
Yan Zhaojun
Browse files
update
parent
32f40c2a
Pipeline
#7812
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 @
3868a760
...
...
@@ -2339,11 +2339,15 @@ class MCIsimulator():
filename
=
self
.
information
[
'dir_path'
]
+
\
'MCI_inputData/galaxy_Input/Lens_SED_IMG_0.025_230606/Lens_img_cut_IMG_'
+
\
str
(
k2
+
1
)
+
'.fits'
if
not
os
.
path
.
exists
(
filename
):
continue
else
:
filename
=
self
.
information
[
'dir_path'
]
+
\
'MCI_inputData/galaxy_Input/noLens_SED_IMG_0.025_230626/Lens_img_cut_IMG_'
+
\
str
(
k2
+
1
)
+
'.fits'
if
not
os
.
path
.
exists
(
filename
):
continue
self
.
log
.
info
(
'galaxy_Input image path is: %s'
%
(
filename
))
...
...
@@ -2364,12 +2368,16 @@ class MCIsimulator():
filename
=
self
.
information
[
'dir_path'
]
+
\
'MCI_inputData/galaxy_Input/Lens_SED_IMG_0.025_241227/Lens_img_cut_SED_'
+
\
str
(
k2
+
1
)
+
'.fits'
if
not
os
.
path
.
exists
(
filename
):
continue
else
:
filename
=
self
.
information
[
'dir_path'
]
+
\
'MCI_inputData/galaxy_Input/noLens_SED_IMG_0.025_230626/Lens_img_cut_SED_'
+
\
str
(
k2
+
1
)
+
'.fits'
if
not
os
.
path
.
exists
(
filename
):
continue
#
srcs_sed
=
fits
.
open
(
filename
)
...
...
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