Commit 7240599d authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

test

parent a82efcd8
Pipeline #4035 failed with stage
in 0 seconds
...@@ -5522,12 +5522,8 @@ class MCIsimulator(): ...@@ -5522,12 +5522,8 @@ class MCIsimulator():
def runMCIsim(sourcein,configfile,dir_path,iLoop): def runMCIsim(sourcein,configfile,dir_path,iLoop):
print('Simulation iLoop = ', iLoop)
print('路径Test:dir_path', dir_path) print('路径Test:dir_path', dir_path)
# opts, args = processArgs()
# opts.configfile=configfile
sim= dict() sim= dict()
sim[iLoop] = MCIsimulator(configfile) sim[iLoop] = MCIsimulator(configfile)
...@@ -5536,10 +5532,6 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop): ...@@ -5536,10 +5532,6 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop):
sim[iLoop].information['sourcein'] =sourcein sim[iLoop].information['sourcein'] =sourcein
#sim[iLoop].information['dir_path'] = dir_path
sim[iLoop].simulate(iLoop) sim[iLoop].simulate(iLoop)
return return
...@@ -5548,9 +5540,3 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop): ...@@ -5548,9 +5540,3 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop):
################################################################################################ ################################################################################################
################################################################################################ ################################################################################################
################################### main function ############################################# ################################### 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment