コード例 #1
0
ファイル: psf.py プロジェクト: cgohlke/psf
    def volume(self):
        """Return a 3D volume of the PSF with all symmetries applied.

        The shape of the returned array is
            (2*self.shape[0]-1, 2*self.shape[1]-1, 2*self.shape[1]-1)

        """
        return mirror_symmetry(_psf.zr2zxy(self.data))
コード例 #2
0
ファイル: psf.py プロジェクト: drmatthews/gohlke_psf
    def volume(self):
        """Return a 3D volume of the PSF with all symmetries applied.

        The shape of the returned array is
            (2*self.shape[0]-1, 2*self.shape[1]-1, 2*self.shape[1]-1)

        """
        return mirror_symmetry(_psf.zr2zxy(self.data))
コード例 #3
0
ファイル: psf.py プロジェクト: cgohlke/psf
 def slice(self, key=slice(None)):
     """Return a z slice of the PSF with rotational symmetries applied."""
     return _psf.zr2zxy(self.data[key])
コード例 #4
0
ファイル: psf.py プロジェクト: drmatthews/gohlke_psf
 def slice(self, key=slice(None)):
     """Return a z slice of the PSF with rotational symmetries applied."""
     return _psf.zr2zxy(self.data[key])