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
7240599d
Commit
7240599d
authored
Apr 14, 2024
by
Yan Zhaojun
Browse files
test
parent
a82efcd8
Pipeline
#4035
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
7240599d
...
...
@@ -5522,13 +5522,9 @@ class MCIsimulator():
def
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
iLoop
):
print
(
'Simulation iLoop = '
,
iLoop
)
print
(
'路径Test:dir_path'
,
dir_path
)
# opts, args = processArgs()
# opts.configfile=configfile
sim
=
dict
()
sim
[
iLoop
]
=
MCIsimulator
(
configfile
)
...
...
@@ -5536,10 +5532,6 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop):
sim
[
iLoop
].
information
[
'sourcein'
]
=
sourcein
#sim[iLoop].information['dir_path'] = dir_path
sim
[
iLoop
].
simulate
(
iLoop
)
return
...
...
@@ -5548,9 +5540,3 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop):
################################################################################################
################################################################################################
################################### main function #############################################
# wfetimes= 2.0 #### wavefront error is wfetimes of CSST primary mirrors;
# # #### calculte MCI filters's PSF date Cube ####
# cal_Filter_PSF(wfetimes)
# print('finish calculate filter PSF...')
\ No newline at end of file
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