From b9cf1db1ab6fdb30d23c0752e62d388c33446364 Mon Sep 17 00:00:00 2001 From: Yan Zhaojun Date: Fri, 24 Jan 2025 12:27:51 +0000 Subject: [PATCH] Replace csst_mci_sim.py --- csst_mci_sim/csst_mci_sim.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/csst_mci_sim/csst_mci_sim.py b/csst_mci_sim/csst_mci_sim.py index cb467b8..da18bf0 100644 --- a/csst_mci_sim/csst_mci_sim.py +++ b/csst_mci_sim/csst_mci_sim.py @@ -1711,13 +1711,11 @@ class MCIsimulator(): parallax_list = self.star['parallax_gaia'].tolist() rv_list = [0.0 for i in range(len(ra_list))] - # ############################################### + ################################################ newRa, newDec = shao.onOrbitObsPosition(self.information['dir_path'], ra_list, dec_list, pmra_list, - pmdec_list, rv_list, parallax_list, len(ra_list), - self.information['pos_x'], self.information['pos_y'], - self.information['pos_z'], self.information['velocity_x'], - self.information['velocity_y'], self.information['velocity_z'], - "J2000", self.TianCe_day, self.TianCe_exp_start) + pmdec_list, rv_list, parallax_list, len( + ra_list), + self.information['pos_x'], self.information['pos_y'], self.information['pos_z'], self.information['velocity_x'], self.information['velocity_y'], self.information['velocity_z'], "J2000", self.TianCe_day, self.TianCe_exp_start) else: if get_file_extension(starcat) == '.fits': -- GitLab