Commit ea65766a authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent fec0b949
...@@ -1907,7 +1907,7 @@ class MCIsimulator(): ...@@ -1907,7 +1907,7 @@ class MCIsimulator():
# sample as ifs wavelength # sample as mci wavelength
wave_mci = np.linspace(2500, 11000, 8501) #np.arange(2500, 11000, 1) wave_mci = np.linspace(2500, 11000, 8501) #np.arange(2500, 11000, 1)
f1 = interp1d(wave0, zodi0) f1 = interp1d(wave0, zodi0)
zodi_mci = f1(wave_mci) zodi_mci = f1(wave_mci)
...@@ -1998,8 +1998,8 @@ class MCIsimulator(): ...@@ -1998,8 +1998,8 @@ class MCIsimulator():
for j in tqdm(range(Nstar)): ### nsrcs length for j in tqdm(range(Nstar)): ### nsrcs length
if j==0:
self.log.info('begin iteration........') self.log.info('begin iteration........')
if j<nsrcs-8: if j<nsrcs-8:
starRa = 3600.0*( newRa[j] ) # ra of star, arcsecond starRa = 3600.0*( newRa[j] ) # ra of star, arcsecond
......
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