Loading csst_mci_sim/csst_mci_sim.py +12 −5 Original line number Diff line number Diff line Loading @@ -1923,7 +1923,7 @@ class MCIsimulator(): z_sat=float(self.orbit_pars[self.orbit_exp_num,3]) self.log.info('load star catlog 111111111111111') wave0, zodi0 = self.zodiacal(ra, dec, self.TianCe_day) # erg/s/cm^2/A/arcsec^2 Loading @@ -1932,6 +1932,9 @@ class MCIsimulator(): sl = StrayLight(self.information['dir_path'],jtime=time_jd, sat=np.array([x_sat, y_sat, z_sat]), radec=np.array([(ra*u.degree).value, (dec*u.degree).value])) self.log.info('load star catlog 3333333333333333333333333') earth_e = sl.caculateEarthShineFilter(filter='r') star_e = sl.caculateStarLightFilter(filter='r') angle_earth = earth_angle(time_jd, x_sat, y_sat, z_sat, ra, dec) Loading @@ -1941,6 +1944,8 @@ class MCIsimulator(): earthshine_wave0, earthshine_flux0 = ill2flux(earth_e+star_e,self.information['dir_pah']) self.log.info('load star catlog 444444444') # sample as ifs wavelength wave_mci = np.linspace(2500, 11000, 8501) #np.arange(2500, 11000, 1) f1 = interp1d(wave0, zodi0) Loading @@ -1961,7 +1966,7 @@ class MCIsimulator(): ######################################################################################## self.log.info('load star catlog 5555555555555') ######################################################################################### self.cal_sky_noise() Loading @@ -1985,6 +1990,8 @@ class MCIsimulator(): ####################################################################### if self.TianceEffect: self.log.info('load star catlog 666666666666666') ra_list = self.star['ra_gaia'].tolist() dec_list = self.star['dec_gaia'].tolist() pmra_list = self.star['pmra_gaia'].tolist() Loading Loading @@ -2022,7 +2029,7 @@ class MCIsimulator(): st_magz=[] self.log.info('load star catlog 777777777') #################### generate star image ########## if self.debug: Loading Loading
csst_mci_sim/csst_mci_sim.py +12 −5 Original line number Diff line number Diff line Loading @@ -1923,7 +1923,7 @@ class MCIsimulator(): z_sat=float(self.orbit_pars[self.orbit_exp_num,3]) self.log.info('load star catlog 111111111111111') wave0, zodi0 = self.zodiacal(ra, dec, self.TianCe_day) # erg/s/cm^2/A/arcsec^2 Loading @@ -1932,6 +1932,9 @@ class MCIsimulator(): sl = StrayLight(self.information['dir_path'],jtime=time_jd, sat=np.array([x_sat, y_sat, z_sat]), radec=np.array([(ra*u.degree).value, (dec*u.degree).value])) self.log.info('load star catlog 3333333333333333333333333') earth_e = sl.caculateEarthShineFilter(filter='r') star_e = sl.caculateStarLightFilter(filter='r') angle_earth = earth_angle(time_jd, x_sat, y_sat, z_sat, ra, dec) Loading @@ -1941,6 +1944,8 @@ class MCIsimulator(): earthshine_wave0, earthshine_flux0 = ill2flux(earth_e+star_e,self.information['dir_pah']) self.log.info('load star catlog 444444444') # sample as ifs wavelength wave_mci = np.linspace(2500, 11000, 8501) #np.arange(2500, 11000, 1) f1 = interp1d(wave0, zodi0) Loading @@ -1961,7 +1966,7 @@ class MCIsimulator(): ######################################################################################## self.log.info('load star catlog 5555555555555') ######################################################################################### self.cal_sky_noise() Loading @@ -1985,6 +1990,8 @@ class MCIsimulator(): ####################################################################### if self.TianceEffect: self.log.info('load star catlog 666666666666666') ra_list = self.star['ra_gaia'].tolist() dec_list = self.star['dec_gaia'].tolist() pmra_list = self.star['pmra_gaia'].tolist() Loading Loading @@ -2022,7 +2029,7 @@ class MCIsimulator(): st_magz=[] self.log.info('load star catlog 777777777') #################### generate star image ########## if self.debug: Loading