FitOptions

class FitOptions(parameters, default_p0=None, default_bounds=None, **extra)[source]

Collection of fitting options.

This class is initialized with a list of parameter names used in the fit model and corresponding default values provided by users.

This class is hashable, and generates fitter keyword arguments.

Attributes

bounds

Return bounds dictionary.

fitter_opts

Return fitter options dictionary.

options

Generate keyword arguments of the curve fitter.

p0

Return initial guess dictionary.

Methods

add_extra_options(**kwargs)[source]

Add more fitter options.

copy()[source]

Create copy of this option.