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

fit_thermal_multiple_scattering_correction#

ReducedIntensity1D.fit_thermal_multiple_scattering_correction(s_max=None, plot=False)[source]#

Fits a 4th order polynomial function to the reduced intensity. This is used to calculate the error in the reduced intensity due to the effects of multiple and thermal diffuse scattering, which results in the earlier background fit being incorrect for either low or high angle scattering (or both). A correction is then applied, making the reduced intensity oscillate around zero as it should. This will distort peak shape. For more detail see [1].

To use this correction, the fitted data should be fitted to high scattering vector, so that the intensity goes to zero at q_max (to prevent FFT artifacts).

Parameters:
  • s_max (float) – Maximum range of fit. The reduced intensity should go to zero at this value.

  • plot (bool) – Whether to plot the fit after fitting. If True, fit is plotted.

  • inplace (bool) – If True (default), this signal is overwritten. Otherwise, returns a new signal.

  • *args – Arguments to be passed to map().

  • **kwargs – Keyword arguments to be passed to map().

References

[1] Mu, X. et al. (2013). Evolution of order in amorphous-to-crystalline phase transformation of MgF2. Journal of Applied Crystallography, 46(4), 1105-1116.