偏斜高斯拟合

Cython 偏态正态拟合——额外输出偏度和众数。

概述

GaussfitSkewed 使用偏态正态分布对一维数据进行 Cython 优化拟合,输出偏度参数 a 和众数 mode

from quatm.analysis.gaussfit_skewed import GaussfitSkewed

gs = GaussfitSkewed(props=props, data_stream="tof")
gs.run()
# 输出: pos, sigma, A0, offset, a (偏度), mode (众数)