specdash.fitting package

Submodules

specdash.fitting.fitter module

class specdash.fitting.fitter.FittingModels[source]

Bases: specdash.models.base_model.Base

CHEBYSHEV_1 = 'chebyshev 1'
CHEBYSHEV_2 = 'chebyshev 2'
CHEBYSHEV_3 = 'chebyshev 3'
CUSTOM = 'custom'
GAUSSIAN = 'gaussian'
GAUSSIAN_PLUS_LINEAR = 'gaussian + linear'
LORENTZIAN = 'lorentzian'
LORENTZIAN_PLUS_LINEAR = 'lorentzian + linear'
POLYNOMIAL_1 = 'polynomial 1'
POLYNOMIAL_2 = 'polynomial 2'
POLYNOMIAL_3 = 'polynomial 3'
VOIGT = 'voigt'
VOIGT_PLUS_LINEAR = 'voigt + linear'
static get_list()[source]
class specdash.fitting.fitter.ModelFitter(model=None, fitter=None, model_type='custom')[source]

Bases: specdash.models.base_model.Base

get_fit(x, y, weights=None)[source]
get_fitted_model()[source]
static get_model_with_fitter(model_type, x, y)[source]
set_model_fitter(model, fitter, model_type='custom')[source]

specdash.fitting.fitting_models module

class specdash.fitting.fitting_models.FittingModels[source]

Bases: specdash.models.base_model.Base

GAUSSIAN_PLUS_LINEAR = 'gaussian + linear'
LORENTZIAN_PLUS_LINEAR = 'lorentzian + linear'
USER_DEFINED = 'user-defined'
VOIGT_PLUS_LINEAR = 'voigt + linear'
static get_list()[source]

Module contents