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
97e07319
Commit
97e07319
authored
Apr 12, 2024
by
Yan Zhaojun
Browse files
redate ifs_sim
parent
ecf13b22
Pipeline
#3991
passed with stage
in 0 seconds
Changes
10
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_ifs_sim/CTI/__pycache__/CTI.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/CTI/__pycache__/__init__.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/__pycache__/csst_ifs_sim.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/ifs_so/__pycache__/__init__.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/ifs_so/cdm03bidir.cpython-311-x86_64-linux-gnu.so
0 → 100755
View file @
97e07319
File added
csst_ifs_sim/support/__pycache__/IFSinstrumentModel.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/support/__pycache__/__init__.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/support/__pycache__/cosmicrays.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/support/__pycache__/logger.cpython-311.pyc
0 → 100644
View file @
97e07319
File added
csst_ifs_sim/support/cosmicrays.py
View file @
97e07319
...
...
@@ -104,23 +104,23 @@ class cosmicrays():
ilo
=
np
.
round
(
x0
.
copy
()
-
dx
)
msk
=
ilo
<
0.
ilo
[
msk
]
=
0
ilo
=
ilo
.
astype
(
np
.
int
)
ilo
=
ilo
.
astype
(
int
)
ihi
=
1
+
np
.
round
(
x0
.
copy
()
+
dx
)
msk
=
ihi
>
self
.
xsize
ihi
[
msk
]
=
self
.
xsize
ihi
=
ihi
.
astype
(
np
.
int
)
ihi
=
ihi
.
astype
(
int
)
#pixels in y-directions
jlo
=
np
.
round
(
y0
.
copy
()
-
dy
)
msk
=
jlo
<
0.
jlo
[
msk
]
=
0
jlo
=
jlo
.
astype
(
np
.
int
)
jlo
=
jlo
.
astype
(
int
)
jhi
=
1
+
np
.
round
(
y0
.
copy
()
+
dy
)
msk
=
jhi
>
self
.
ysize
jhi
[
msk
]
=
self
.
ysize
jhi
=
jhi
.
astype
(
np
.
int
)
jhi
=
jhi
.
astype
(
int
)
#loop over the individual events
for
i
,
luminosity
in
enumerate
(
lum
):
...
...
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