ReducedIntensityCorrectionComponent#

class pyxem.components.ReducedIntensityCorrectionComponent(a=0.0, b=0.0, c=0.0, d=0.0)[source]#

Bases: Component

A HyperSpy fitting component to fit a 4th order polynomial that goes to zero intensity at zero scattering to the reduced intensity profile. This is done to reduce the effects of multiple scattering in the pdf.

Parameters:
  • a (float)

  • b (float)

  • c (float)

  • d (float) – a, b, c, and d are the coefficients of the 1st, 2nd, 3rd, and 4th order terms respectively of the returned polynomial.

Returns:

p

Return type:

polynomial of the form ax + bx^2 + cx^3 + dx^4

Attributes

ReducedIntensityCorrectionComponent.trait_added

An event fired when a new trait is dynamically added to the object.

ReducedIntensityCorrectionComponent.trait_modified

An event that can be fired to indicate that the state of the object has been modified.

Methods

ReducedIntensityCorrectionComponent.function(x)

The actual fitted function.