Commit 86564d14 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 6215ea38
......@@ -2663,19 +2663,9 @@ class MCIsimulator():
continue
nlayccd=nlayccd+1
####### test code only ########
# img['g']=lensed_images_g
# img['r']=lensed_images_g
# img['i']=lensed_images_g
# print('------------------------------------')
# print('galaxy mag=',srcs_cat[k1].header['magu'] ,srcs_cat[k1].header['magg'] ,srcs_cat[k1].header['magr'],srcs_cat[k1].header['magi'],srcs_cat[k1].header['magz'])
# print('total photons=', intscales['g'],intscales['r'],intscales['i'])
# print('k1 =',k1)
################################################
gx=dict()
......@@ -2690,8 +2680,6 @@ class MCIsimulator():
######################################################################
gal_ra.append(np.float64(galRa/3600.0))
gal_dec.append(np.float64(galDec/3600.0))
......@@ -2718,13 +2706,7 @@ class MCIsimulator():
if nlayccd %1000 ==0:
self.log.info('Galaxy number on CCD is = %i' % (nlayccd))
# gal_magu.append(np.float64(self.star['umag'][j]))
# gal_magg.append(np.float64(self.star['gmag'][j]))
# gal_magr.append(np.float64(self.star['rmag'][j]))
# gal_magi.append(np.float64(self.star['imag'][j]))
# gal_magz.append(np.float64(self.star['zmag'][j]))
psf=dict()
......
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