Package park :: Package fitting :: Module fitservice :: Class Fit

Class Fit

source code


Coordinate the fit.
Instance Methods
 
__init__(self, models=[], optimizer=None, service=None, update=None, complete=None)
Set up the fit.
source code
 
stop(self)
Interrupt a running fit.
source code
 
start(self)
Start the fit.
source code
 
wait(self)
Wait for a fit to complete.
source code
 
fit(self)
Start the fit and wait for the result.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  update = on_fit_update
  complete = on_fit_complete
Properties

Inherited from object: __class__

Method Details

__init__(self, models=[], optimizer=None, service=None, update=None, complete=None)
(Constructor)

source code 

Set up the fit.

models []
List of models which make up the assembly.
optimizer
Optimizer to use for the fit
Overrides: object.__init__

fit(self)

source code 
Start the fit and wait for the result. Returns the result.