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
452d0801
Commit
452d0801
authored
Jan 08, 2025
by
Yan Zhaojun
Browse files
update
parent
b823a7e2
Pipeline
#7737
failed 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 @
452d0801
...
...
@@ -2300,8 +2300,8 @@ class IFSsimulator():
crImage_r
=
np
.
zeros
((
3072
,
6144
),
dtype
=
float
)
# cosmic ray instance
cosmics_b
=
cosmicrays
(
self
.
log
,
crImage_b
,
self
.
information
[
'exptime'
],
crInfo
=
self
.
cr
)
cosmics_r
=
cosmicrays
(
self
.
log
,
crImage_r
,
self
.
information
[
'exptime'
],
crInfo
=
self
.
cr
)
cosmics_b
=
cosmicrays
(
self
.
log
,
crImage_b
,
self
.
information
[
'exptime'
],
crInfo
=
self
.
cr
)
cosmics_r
=
cosmicrays
(
self
.
log
,
crImage_r
,
self
.
information
[
'exptime'
],
crInfo
=
self
.
cr
)
CCD_cr_b
=
cosmics_b
.
addUpToFraction
(
self
.
information
[
'coveringfraction'
]
*
self
.
information
[
'exptime'
]
/
300.0
,
limit
=
None
)
...
...
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