qem.processing

Functions

butterworth_window(shape, cutoff_radius_ftr, ...)

Generate a 2D Butterworth window.

qem.processing.butterworth_window(shape, cutoff_radius_ftr, order)[source]

Generate a 2D Butterworth window.

Parameters: - shape: tuple of ints, the shape of the window (height, width). - cutoff_radius_ftr: float, the cutoff frequency as a fraction of the radius (0, 0.5]. - order: int, the order of the Butterworth filter.

Returns: - window: 2D numpy array, the Butterworth window.