hyperspy.models.edssemmodel module

class hyperspy.models.edssemmodel.EDSSEMModel(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 SEM.

Parameters
  • spectrum (EDSSEMSpectrum) –

  • auto_add_lines (bool) – 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 (bool) – If True, adds automatically a polynomial order 6 to the model, using the edsmodel.add_polynomial_background method.

  • constructor. (Any extra arguments are passed to the Model) –