MCALF profiles

This sub-package contains:

  • Functions that can be used to model the spectra.

  • Voigt profile with a variety of wrappers for different applications (mcalf.profiles.voigt).

  • Gaussian profiles and skew normal distributions (mcalf.profiles.gaussian).

mcalf.profiles Package

Functions

double_voigt(x, a1, b1, s1, g1, a2, b2, s2, …)

Double Voigt function with background

double_voigt_approx(x, a1, b1, s1, g1, a2, …)

Double Voigt function (efficient approximation) with background

double_voigt_approx_nobg(x, a1, b1, s1, g1, …)

Double Voigt function (efficient approximation) with no background

double_voigt_nobg(x, a1, b1, s1, g1, a2, b2, …)

Double Voigt function with no background

single_gaussian(x, a, b, c, d)

Gaussian function

skew_normal(x, a_a, alpha, xi, omega, d)

skew_normal_with_gaussian(x, a_a, alpha, xi, …)

voigt(x, a, b, s, g, d[, clib])

Voigt function with background

voigt_approx(x, a, b, s, g, d)

Voigt function (efficient approximation) with background

voigt_approx_nobg(x, a, b, s, g)

Voigt function (efficient approximation) with no background (Base approx.

voigt_nobg(x, a, b, s, g[, clib])

Voigt function with no background (Base Voigt function)

mcalf.profiles.voigt Module

Functions

voigt_approx_nobg(x, a, b, s, g)

Voigt function (efficient approximation) with no background (Base approx.

voigt_approx(x, a, b, s, g, d)

Voigt function (efficient approximation) with background

double_voigt_approx_nobg(x, a1, b1, s1, g1, …)

Double Voigt function (efficient approximation) with no background

double_voigt_approx(x, a1, b1, s1, g1, a2, …)

Double Voigt function (efficient approximation) with background

voigt_nobg(x, a, b, s, g[, clib])

Voigt function with no background (Base Voigt function)

voigt(x, a, b, s, g, d[, clib])

Voigt function with background

double_voigt_nobg(x, a1, b1, s1, g1, a2, b2, …)

Double Voigt function with no background

double_voigt(x, a1, b1, s1, g1, a2, b2, s2, …)

Double Voigt function with background

mcalf.profiles.gaussian Module

Functions

single_gaussian(x, a, b, c, d)

Gaussian function

skew_normal(x, a_a, alpha, xi, omega, d)

skew_normal_with_gaussian(x, a_a, alpha, xi, …)