darsia.LinearModel#
- class LinearModel(key='', **kwargs)[source]#
Bases:
ModelLinear model, applying an affine conversion for signals to data.
Methods
calibrate()Calibration routine of model.
update([scaling, offset])Update of internal parameters.
update_model_parameters(parameters[, dofs])Short cut to update scaling and offset parameters using a general function signature.
- update_model_parameters(parameters, dofs=None)[source]#
Short cut to update scaling and offset parameters using a general function signature.
The main use is the model calibration. Do not update the offset.
- Parameters:
- parameters
np.ndarray 2-array containing scaling and offset values.
- parameters