Commit c326c535 authored by Wei Chengliang's avatar Wei Chengliang
Browse files

update codestyle-PEP8

parent ba121152
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ class Catalog(CatalogBase):
            # param["CSSTmag"]= True
            # param["mag_r"] = 20.
            # param['']
            ### more keywords for stamp###
            # more keywords for stamp#
            param['image'] = hdu[0].data
            param['image'] = param['image']/(np.sum(param['image']))
            obj = Stamp(param)
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class Observation(object):

    def prepare_chip_for_exposure(self, chip, ra_cen, dec_cen, pointing, wcs_fp=None, slsPSFOptim=False):
        # Get WCS for the focal plane
        if wcs_fp == None:
        if wcs_fp is None:
            wcs_fp = self.focal_plane.getTanWCS(
                ra_cen, dec_cen, pointing.img_pa, chip.pix_scale)

+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.