pymks/filter.py
def _real_2_frequency(self, kernel):
        """
        Converts a kernel from real space to frequency space.

        Args:
          kernel: an array representing a convolution kernel in real space

        Returns:
          an array in frequency space
        """
        return np.fft.fftn(np.fft.ifftshift(kernel, axes=self.axes),
                           axes=self.axes)

        Converts a kernel from real space to frequency space.

        Args:
          kernel: an array representing a convolution kernel in real space

        Returns:
          an array in frequency space
        
Converts a kernel from real space to frequency space.
Converts a kernel from real space to frequency space .
def _real_2_frequency(self, kernel):
        return np.fft.fftn(np.fft.ifftshift(kernel, axes=self.axes),
                           axes=self.axes)
def _real_2_frequency ( self , kernel ) : return np . fft . fftn ( np . fft . ifftshift ( kernel , axes = self . axes ) , axes = self . axes )
Converts a kernel from real space to frequency space.
Converts a kernel from real space to frequency space .
"""
        Converts a kernel from real space to frequency space.

        Args:
          kernel: an array representing a convolution kernel in real space

        Returns:
          an array in frequency space
        """
an array in frequency space
an array in frequency space
self
kernel
an array representing a convolution kernel in real space
an array representing a convolution kernel in real space