Check out the Hyperspy Workshop May 13-17, 2024 Online

investigate_dog_background_removal_interactive#

pyxem.utils.diffraction.investigate_dog_background_removal_interactive(sample_dp, std_dev_maxs, std_dev_mins)[source]#

[Deprecated] Utility function to help the parameter selection for the difference of gaussians (dog) background subtraction method

Parameters:
  • sample_dp (ElectronDiffraction2D) – A single diffraction pattern

  • std_dev_maxs (iterable) – Linearly spaced maximum standard deviations to be tried, ascending

  • std_dev_mins (iterable) – Linearly spaced minimum standard deviations to be tried, ascending

Returns:

  • A hyperspy like navigation (sigma parameters), signal (proccessed patterns)

  • plot

See also

subtract_background_dog

The background subtraction method used.

numpy.arange

Produces suitable objects for std_dev_maxs

Notes

Deprecated since version 0.18.0: Function investigate_dog_background_removal_interactive() is deprecated and will be removed in version 1.0.0.