From 1a345ca1bc438b72132566121eaf5c1b9fe20656 Mon Sep 17 00:00:00 2001 From: "zhaojunyan@shao.ac.cn" Date: Sun, 14 Apr 2024 09:20:28 +0800 Subject: [PATCH] test --- csst_mci_sim/csst_mci_sim.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/csst_mci_sim/csst_mci_sim.py b/csst_mci_sim/csst_mci_sim.py index 9411607..83e6b1c 100644 --- a/csst_mci_sim/csst_mci_sim.py +++ b/csst_mci_sim/csst_mci_sim.py @@ -1482,7 +1482,7 @@ class MCIsimulator(): ############################################################################### ############################################################################### - def configure(self,simnumber,source,dir_path): + def configure(self,simnumber,sourcein,dir_path): """ Configures the simulator with input information and creates and empty array to which the final image will be build on. @@ -1495,6 +1495,8 @@ class MCIsimulator(): self.information['dir_path']=dir_path + self.source=sourcein + print('print information:', self.information) @@ -5152,7 +5154,8 @@ class MCIsimulator(): print('Sourcein is wront') sys.exit(1) - self.source=self.information['sourcein'] + + self.information['ver']='01' self._loadGhostModel() self.load_filter_PSF() -- GitLab