Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
a6e7e9e7
Commit
a6e7e9e7
authored
1 year ago
by
Yan Zhaojun
Browse files
Options
Download
Email Patches
Plain Diff
update setup.py
parent
f3abcf15
No related merge requests found
Pipeline
#3967
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
csst_ifs_sim/csst_ifs_sim.py
+2
-2
csst_ifs_sim/csst_ifs_sim.py
ifs_data/IFS_sim_C90.config
+1
-1
ifs_data/IFS_sim_C90.config
with
3 additions
and
3 deletions
+3
-3
csst_ifs_sim/csst_ifs_sim.py
+
2
-
2
View file @
a6e7e9e7
...
...
@@ -1266,9 +1266,9 @@ class IFSsimulator():
"""
# self.log.info('Reading in cosmic ray information from %s and %s' % (self.information['cosmicraylengths'],
# self.information['cosmicraydistance']))
print
(
self
.
information
)
crLengths
=
np
.
loadtxt
(
self
.
information
[
'dir_path'
]
+
self
.
information
[
'cosmicraylengths'
])
self
.
information
[
'dir_path'
]
+
self
.
information
[
'cosmicraylengths'
])
crDists
=
np
.
loadtxt
(
self
.
information
[
'dir_path'
]
+
self
.
information
[
'cosmicraydistance'
])
...
...
This diff is collapsed.
Click to expand it.
ifs_data/IFS_sim_C90.config
+
1
-
1
View file @
a6e7e9e7
...
...
@@ -103,7 +103,7 @@ cosmeticsFile_r =IFS_inputdata/Cosmetics_r.txt
###comicray information file
cosmicraylengths
=
IFS_inputdata
/
cdf_cr_length
.
dat
cosmicraylengths
=
IFS_inputdata
/
cdf_cr_length
.
dat
cosmicraydistance
=
IFS_inputdata
/
cdf_cr_total
.
dat
#apply multiplicative flatfield (to emulate pixel-to-pixel non-uniformity)?
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets