Loading csst_ifs_sim/csst_ifs_sim.py +18 −6 Original line number Diff line number Diff line Loading @@ -5519,10 +5519,15 @@ class IFSsimulator(): # if self.debug: # exptimes=1 if exptimes>1: self.image_b_N = np.zeros((1344, 9672, exptimes)) self.image_r_N = np.zeros((1856, 13768, exptimes)) else: self.image_b_N = np.zeros((1344, 9672)) self.image_r_N = np.zeros((1856, 13768)) for idk in range(exptimes): Loading Loading @@ -5591,8 +5596,15 @@ class IFSsimulator(): self.discretise() self.image_b_N[:, :, idk] = self.image_b[:, :] self.image_r_N[:, :, idk] = self.image_r[:, :] if exptimes>1: self.image_b_N[:, :, idk] = self.image_b[:, :].copy() self.image_r_N[:, :, idk] = self.image_r[:, :].copy() else: self.image_b_N[:, :] = self.image_b[:, :].copy() self.image_r_N[:, :] = self.image_r[:, :].copy() self.writeOutputs(simnumber) Loading Loading
csst_ifs_sim/csst_ifs_sim.py +18 −6 Original line number Diff line number Diff line Loading @@ -5519,10 +5519,15 @@ class IFSsimulator(): # if self.debug: # exptimes=1 if exptimes>1: self.image_b_N = np.zeros((1344, 9672, exptimes)) self.image_r_N = np.zeros((1856, 13768, exptimes)) else: self.image_b_N = np.zeros((1344, 9672)) self.image_r_N = np.zeros((1856, 13768)) for idk in range(exptimes): Loading Loading @@ -5591,8 +5596,15 @@ class IFSsimulator(): self.discretise() self.image_b_N[:, :, idk] = self.image_b[:, :] self.image_r_N[:, :, idk] = self.image_r[:, :] if exptimes>1: self.image_b_N[:, :, idk] = self.image_b[:, :].copy() self.image_r_N[:, :, idk] = self.image_r[:, :].copy() else: self.image_b_N[:, :] = self.image_b[:, :].copy() self.image_r_N[:, :] = self.image_r[:, :].copy() self.writeOutputs(simnumber) Loading