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_ifs_sim
Commits
eb67f0ac
Commit
eb67f0ac
authored
Dec 24, 2024
by
Yan Zhaojun
Browse files
update
parent
33dff68d
Pipeline
#7594
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_ifs_sim/csst_ifs_sim.py
View file @
eb67f0ac
...
...
@@ -4669,8 +4669,7 @@ class IFSsimulator():
# energy_red=energy_red+sum(photons_red.flux)
####################################################################################
#####
self
.
image_b
=
blue_img
.
array
self
.
image_r
=
red_img
.
array
...
...
@@ -4678,10 +4677,8 @@ class IFSsimulator():
data_time
=
now
.
strftime
(
"%Y-%m-%d"
)
# write the actual file
bluefile
=
os
.
path
.
join
(
self
.
result_path
,
'original_Calibration/IFS_'
+
self
.
source
+
'_'
+
d
ata_time
+
'_'
+
str
(
self
.
simnumber
)
+
'_B_original.fits'
)
self
.
source
+
'_'
+
data_time
+
'_'
+
str
(
self
.
simnumber
)
+
'_B_original.fits'
)
redfile
=
os
.
path
.
join
(
self
.
result_path
,
'original_Calibration/IFS_'
+
self
.
source
+
'_'
+
data_time
+
'_'
+
str
(
self
.
simnumber
)
+
'_R_original.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