hyperspy.models.edstemmodel module

class hyperspy.models.edstemmodel.EDSTEMModel(spectrum, auto_background=True, auto_add_lines=True, *args, **kwargs)

Bases: hyperspy.models.edsmodel.EDSModel

Build and fit a model to EDS data acquired in the TEM.

Parameters:
  • spectrum (an EDSTEMSpectrum instance) –
  • auto_add_lines (boolean) – If True, automatically add Gaussians for all X-rays generated in the energy range by an element, using the edsmodel.add_family_lines method.
  • auto_background (boolean) – If True, adds automatically a polynomial order 6 to the model, using the edsmodel.add_polynomial_background method.
  • extra arguments are passed to the Model constructor. (Any) –