Commit 04b66f9b authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

test

parent 07969ce8
Pipeline #4049 failed with stage
in 0 seconds
...@@ -1738,7 +1738,7 @@ class MCIsimulator(): ...@@ -1738,7 +1738,7 @@ class MCIsimulator():
# np.save('umag.npy', df3['umag'] ) # np.save('umag.npy', df3['umag'] )
self.star=df3 self.star=df3
self.log.info('load star catlog successfully')
del da,df2,df3 del da,df2,df3
...@@ -1878,6 +1878,8 @@ class MCIsimulator(): ...@@ -1878,6 +1878,8 @@ class MCIsimulator():
nsrcs=len(self.star['ra_gaia']) + 8 nsrcs=len(self.star['ra_gaia']) + 8
self.log.info('load star catlog successfully')
################################################################## ##################################################################
obj=dict() obj=dict()
obj['g']=np.zeros(3) obj['g']=np.zeros(3)
...@@ -1919,8 +1921,12 @@ class MCIsimulator(): ...@@ -1919,8 +1921,12 @@ class MCIsimulator():
y_sat=float(self.orbit_pars[self.orbit_exp_num,2]) y_sat=float(self.orbit_pars[self.orbit_exp_num,2])
z_sat=float(self.orbit_pars[self.orbit_exp_num,3]) z_sat=float(self.orbit_pars[self.orbit_exp_num,3])
self.log.info('load star catlog 111')
wave0, zodi0 = self.zodiacal(ra, dec, self.TianCe_day) # erg/s/cm^2/A/arcsec^2 wave0, zodi0 = self.zodiacal(ra, dec, self.TianCe_day) # erg/s/cm^2/A/arcsec^2
self.log.info('load star catlog 2222')
# EarthShine from straylight # EarthShine from straylight
sl = StrayLight(self.information['dir_path'],jtime=time_jd, sat=np.array([x_sat, y_sat, z_sat]), 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])) radec=np.array([(ra*u.degree).value, (dec*u.degree).value]))
......
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