Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.stats

The qspec.stats module contains routines for the statistical analysis of data. Besides basic statistical measures such as the (weighted) average or median, the module also provides a Monte-Carlo error propagator. In combination with the nonlinear curve fitters of qspec.analyze, this can be used to calculate uncertainty bands for the fitted function while taking the full covariance matrix into account.