- EBSD.downsample(factor: int, dtype_out: str | None = None, show_progressbar: bool | None = None, inplace: bool = True, lazy_output: bool | None = None) None | EBSD | LazyEBSD #
Downsample the pattern shape by an integer factor and rescale intensities to fill the data type range.
Integer binning factor to downsample by. Must be a divisor of the initial pattern shape \((s_y, s_x)\). The new pattern shape given by the
factor\(k\) is \((s_y / k, s_x / k)\).
Name of the data type of the new patterns overwriting
data. Contrast between patterns is lost. If not given, patterns maintain their data type and. Patterns are rescaled to fill the data type range.
Whether to show a progressbar. If not given, the value of
Whether to operate on the current signal or return a new one. Default is
Whether the returned signal is lazy. If not given this follows from the current signal. Can only be
Downsampled signal, returned if
inplace=False. Whether it is lazy is determined from