BGlib.gmode.proc.fft.get_fft_stack

BGlib.gmode.proc.fft.get_fft_stack(image_stack)[source]

Gets the 2D FFT for a single or stack of images by applying a blackman window

Parameters:

image_stack (2D or 3D real numpy array) – Either a 2D matrix [x, y] or a stack of 2D images arranged as [z or spectral, x, y]

Returns:

fft_stack – 2 or 3 dimensional matrix arranged as [z or spectral, x, y]

Return type:

2D or 3D real numpy array