etspy.utils.filter_stack(stack: TomoStack, filter_name: 'ram-lak' | 'shepp-logan' | 'hanning' | 'hann' | 'cosine' | 'cos' = 'shepp-logan', cutoff: float = 0.5) TomoStack[source]

Apply a Fourier filter to a sinogram or series of sinograms.

Parameters:
stack: TomoStack

TomoStack with projection data

filter_name: 'ram-lak' | 'shepp-logan' | 'hanning' | 'hann' | 'cosine' | 'cos' = 'shepp-logan'

Type of filter to apply.

cutoff: float = 0.5

Factor of sampling rate to use as the cutoff. Default is 0.5 which corresponds to the Nyquist frequency.

Returns:

result – Filtered version of the input TomoStack.

Return type:

TomoStack