spectrochempy.Fit

class Fit(**kwargs)[source]

Fit a 1D or 2D dataset, or a list of datasets.

Parameters
  • dataset (Dataset or list of Dataset instance) – The data to fit.

  • mode (Unicode, optional) – Reserved - not used for now.

fp

Fit parameters dictionary (read-only, but individual elements of the dict can be changed)

Type

Dict

script

A string representation of the fp dict, which can be used as input for other a fit (read-only)

Type

Unicode

Methods

Fit.run([maxiter, maxfun, every, method])

Main fitting procedure.

Fit.script_default()

Return a default script.

Examples using spectrochempy.Fit

Fitting 1D dataset

Fitting 1D dataset