ewoksfluo.tests.fit.test_core_fit.test_fit_versus_native_fit#

ewoksfluo.tests.fit.test_core_fit.test_fit_versus_native_fit(fast_fitting, use_limit, quantification, positive_peak_areas, error_propagation, strip_background, live_times, multilayer, legacy)[source]#
Parameters:
  • fast_fitting (bool) – fast fitting (forced linear) or slow fitting

  • use_limit (bool) – fit the entire XRF spectrum or a ROI

  • quantification (Optional[str]) – calulate concentrations from fitted peak areas

  • positive_peak_areas (bool) – constraint peak areas to be >=0

  • error_propagation (Optional[str]) – no error propagation, Poisson noise from average spectrum, Poisson noise for each spectrum separately)

  • strip_background (Optional[Literal[0, 1]]) – no background stripping, strip, snip

  • live_times (bool) – include live time normalization

  • multilayer (bool) – the sample matrix is a “multilayer”

  • legacy (bool) – legacy high-level native PyMca5 API for fitting