get_dynamic_background#

EBSD.get_dynamic_background(filter_domain: str = 'frequency', std: Union[None, int, float] = None, truncate: Union[int, float] = 4.0, dtype_out: Optional[Union[str, dtype, type]] = None, show_progressbar: Optional[bool] = None, **kwargs) Union[EBSD, LazyEBSD][source]#

Get the dynamic background per EBSD pattern in a scan.

Parameters:
filter_domain

Whether to apply a Gaussian convolution filter in the "frequency" (default) or "spatial" domain.

std

Standard deviation of the Gaussian window. If not given, it is set to width/8.

truncate

Truncate the Gaussian filter at this many standard deviations. Default is 4.0.

dtype_out

Data type of the background patterns. If not given, it is set to the same data type as the input pattern.

show_progressbar

Whether to show a progressbar. If not given, the value of hyperspy.api.preferences.General.show_progressbar is used.

**kwargs

Keyword arguments passed to the Gaussian blurring function determined from filter_domain.

Returns:
background_signal

Signal with the large scale variations across the detector.