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

update

parent a2bcbefb
Loading
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -741,8 +741,8 @@ def centroid(data):
    -------
    cx: the centroid column number,  in horizontal direction definet in python image show
    cy: the centroid row number  ,   in vertical direction
    
    '''
    ################# '''
    ###
    ###
    from scipy import ndimage
    cy, cx = ndimage.center_of_mass(data)
@@ -1036,7 +1036,7 @@ class MCIsimulator():

        Creates lensing parameters;
        """
        
#############################
        self.image_g = np.zeros(
            (self.information['ysize'], self.information['xsize']), dtype=float)
        self.image_r = np.zeros(
@@ -3239,7 +3239,7 @@ class MCIsimulator():
        ####

        ofd_g = fits.PrimaryHDU()
        ####   World coordinate system and related parameters  #####
        # World coordinate system and related parameters  #####
        hdu_g = fits.ImageHDU(data)

        hdu_g.header['WCSAXES'] = (np.int16(2),    'number of WCS axes')