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
1a345ca1
Commit
1a345ca1
authored
Apr 14, 2024
by
Yan Zhaojun
Browse files
test
parent
16d41577
Pipeline
#4027
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
1a345ca1
...
@@ -1482,7 +1482,7 @@ class MCIsimulator():
...
@@ -1482,7 +1482,7 @@ class MCIsimulator():
###############################################################################
###############################################################################
###############################################################################
###############################################################################
def
configure
(
self
,
simnumber
,
source
,
dir_path
):
def
configure
(
self
,
simnumber
,
source
in
,
dir_path
):
"""
"""
Configures the simulator with input information and creates and empty array to which the final image will
Configures the simulator with input information and creates and empty array to which the final image will
be build on.
be build on.
...
@@ -1495,6 +1495,8 @@ class MCIsimulator():
...
@@ -1495,6 +1495,8 @@ class MCIsimulator():
self
.
information
[
'dir_path'
]
=
dir_path
self
.
information
[
'dir_path'
]
=
dir_path
self
.
source
=
sourcein
print
(
'print information:'
,
self
.
information
)
print
(
'print information:'
,
self
.
information
)
...
@@ -5152,7 +5154,8 @@ class MCIsimulator():
...
@@ -5152,7 +5154,8 @@ class MCIsimulator():
print
(
'Sourcein is wront'
)
print
(
'Sourcein is wront'
)
sys
.
exit
(
1
)
sys
.
exit
(
1
)
self
.
source
=
self
.
information
[
'sourcein'
]
self
.
information
[
'ver'
]
=
'01'
self
.
information
[
'ver'
]
=
'01'
self
.
_loadGhostModel
()
self
.
_loadGhostModel
()
self
.
load_filter_PSF
()
self
.
load_filter_PSF
()
...
...
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