ewoksxas.fit.silx_engine.descriptors_from_fit_results#
- ewoksxas.fit.silx_engine.descriptors_from_fit_results(fit_results, family, asymmetric)[source]#
Return the per-peak descriptors from silx
fit_results.Each peak (silx group
>= 1; group0holds the background parameters) yields a descriptor dict withcenter,center_stderr,height,area,area_stderrand the shape-dependent width(s): a singlefwhmfor symmetric peaks, per-sidefwhm_low/fwhm_highfor asymmetric ones, plusetafor the Voigt family. The peaks are returned in silx order (left to right ordering is done by the caller).- Args:
fit_results: silx
FitManager.fit_resultsafterrunfit. family: Profile family of the fitted shape. asymmetric: Whether the shape reports per-side widths.
- Parameters:
fit_results (
list[dict])family (
str)asymmetric (
bool)
- Return type:
list[dict[str,float]]