inverse

Contents

inverse#

scarlet2.fft.inverse(image_fft, fft_shape, image_shape, axes=None)[source]#

Generate image from its FFT

Parameters:
  • image_fft (array) – The FFT of the image.

  • fft_shape (tuple) – “Fast” shape of the image used to generate the FFT.

  • image_shape (tuple) – The actual shape of the image before padding and using fast shapes. This will regenerate the image with the extra padding trimmed off.

  • axes (int or tuple) – The dimension(s) of the array that will be transformed.