fourier.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:pisap 作者: neurospin 项目源码 文件源码
def op(self, img):
        """ This method calculates the masked Fourier transform of a 2-D image.

        Parameters
        ----------
        img: np.ndarray
            input 2D array with the same shape as the mask.

        Returns
        -------
        x: np.ndarray
            masked Fourier transform of the input image.
        """
        return self._mask * pfft.fft2(img)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号