Loading csst_mci_sim/csst_mci_sim.py +2 −20 Original line number Diff line number Diff line Loading @@ -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() Loading @@ -2690,8 +2680,6 @@ class MCIsimulator(): ###################################################################### gal_ra.append(np.float64(galRa/3600.0)) gal_dec.append(np.float64(galDec/3600.0)) Loading @@ -2718,12 +2706,6 @@ 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() Loading Loading
csst_mci_sim/csst_mci_sim.py +2 −20 Original line number Diff line number Diff line Loading @@ -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() Loading @@ -2690,8 +2680,6 @@ class MCIsimulator(): ###################################################################### gal_ra.append(np.float64(galRa/3600.0)) gal_dec.append(np.float64(galDec/3600.0)) Loading @@ -2718,12 +2706,6 @@ 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() Loading