CTF.__call__#

CTF.__call__(return_real_fourier=False, **kwargs)#

This method provides the standard interface for creating of composable filter masks. It merges instance attributes with runtime parameters, and ensures Fourier conventions are consistent across filters.

Parameters:
return_real_fourierbool, optional

Whether to crop the filter mask for compatibility with real input FFTs (i.e., numpy.fft.rfft()). When True, only the positive frequency components are returned, reducing memory usage and computation time for real-valued inputs. Default is False.

**kwargsdict

Additional keyword arguments passed to _evaluate(). These will override any matching instance attributes during parameter merging.

Returns:
Dict
  • dataBackendArray

    The processed filter data, converted to the appropriate backend array type and with fourier operations applied as needed

  • shapetuple of int or None

    Shape for which the filter was created

  • return_real_fourierbool

    The value of the return_real_fourier parameter

  • is_multiplicative_filterbool

    Whether the filter is multiplicative in Fourier space

  • Additional metadata from the filter implementation