Commit 20c5ee5f authored by Wei Chengliang's avatar Wei Chengliang
Browse files

update codestyle-PEP8

parent 00508e40
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ class PSFGauss(PSFModel):

        Return: the flux ratio
        """
        if pscale == None:
        if pscale is None:
            pscale = self.pix_size
        gaussx = galsim.Gaussian(flux=1.0, sigma=sig)
        gaussImg = gaussx.drawImage(scale=pscale, method='no_pixel')
@@ -68,7 +68,7 @@ class PSFGauss(PSFModel):

        return the fwhm in arcsec
        """
        if pscale == None:
        if pscale is None:
            pscale = self.pix_size
        err = 1.0e-3
        nxx = 100
@@ -123,3 +123,4 @@ class PSFGauss(PSFModel):
        # return ell, beta, qr
        PSFshear = galsim.Shear(e=ell, beta=beta*galsim.radians)
        return self.psf.shear(PSFshear), PSFshear
+2 −2

File changed.

Contains only whitespace changes.