ewoksfluo.xrffit.fit#

Different implementations of the core XRF fit function.

  • ewoksfluo.xrffit.fit.fast_fit.fit_xrf_spectra: solve a linear system of equations to fit several spectra.

  • ewoksfluo.xrffit.fit.slow_fit.fit_xrf_spectra: fit several XRF spectra one-by-one.

  • ewoksfluo.xrffit.fit.fast_fit_native.fit_xrf_spectra: same as fast_fit but using the PyMca batch API for fast fitting.

  • ewoksfluo.xrffit.fit.slow_fit_native.fit_xrf_spectra: same as slow_fit but using the PyMca batch API for slow fitting.

  • ewoksfluo.xrffit.fit.fast_fit_native.fit_xrf_spectra_legacy: same as fast_fit_native but before HDF5 support.

  • ewoksfluo.xrffit.fit.slow_fit_native.fit_xrf_spectra_legacy: same as slow_fit_native but before HDF5 support.

All functions can be called through ewoksfluo.xrffit.fit.fit_xrf_spectra.

Functions

fit_xrf_spectra(xrf_spectra, configuration)

Modules