amep.functions#

Functions and Fitting#

The AMEP module amep.functions contains regularly used functions to fit to data as well as fitting methods. The naming covention is that the fit classes are named in CamelCase while the mathematical functions that can be fitted are name all lowercase.

Functions

gaussian(x[, mu, sig, offset, A, normalized])

Gaussian Bell curve.

gaussian2d(data_tuple, A, mux, muy, sigx, ...)

2D Gaussian Bell curve.

Classes

ExGaussian()

Exponentially modified Gaussian.

Fit(g, **kwargs)

Fitting a 1d function.

Gaussian()

One-dimensional Gaussian.

Gaussian2d()

Two-dimensional Gaussian.

MaxwellBoltzmann([d, m])

Maxwell-Boltzmann distribution.

NormalizedGaussian()

Normalized one-dimensional Gaussian.

SkewGaussian()

Skewed Gaussian distribution.