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

debug

parent 86564d14
Pipeline #4391 passed with stage
in 0 seconds
......@@ -2784,13 +2784,6 @@ class MCIsimulator():
photons.addTo(final_image[ch])
####################################################
### debug code
# fi= galsim.ImageF(int(self.information['xsize']), int(self.information['ysize']))
# fi.setOrigin(0,0)
# photons.addTo(fi)
# cx,cy=centroid(fi.array)
# print('cx, cy=', cx, cy)
# print('gx, gy=' ,gx[ch],gy[ch])
############################################
############################################
########################################################################
......@@ -2816,7 +2809,6 @@ class MCIsimulator():
tab['posY_C2']=np.asarray(posY_C2)
tab['posY_C3']=np.asarray(posY_C3)
tab['gal_magu']=np.asarray(gal_magu)
tab['gal_magg']=np.asarray(gal_magg)
tab['gal_magr']=np.asarray(gal_magr)
......@@ -2824,7 +2816,6 @@ class MCIsimulator():
tab['gal_magz']=np.asarray(gal_magz)
####################################################################
file=self.result_path+'/log_Data/gal_info'+'_SN_'+str(self.information['simnumber'])+'.fits'
......
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