calix.common.algorithms.LinearPrediction
-
class
calix.common.algorithms.
LinearPrediction
(probe_parameters: Union[int, numpy.ndarray], offset: float = 0, slope: float = 1) Bases:
calix.common.algorithms.PolynomialPrediction
Class implementing a first degree polynomial.
-
__init__
(probe_parameters: Union[int, numpy.ndarray], offset: float = 0, slope: float = 1) - Parameters
probe_parameters – Parameter at which a measurement was or will be taken in order to determine the offsets for each calibration instance. Refer to PolynomialPrediction._predict for details.
offset – Offset (zeroth-degree) term of the linar function.
slope – Slope (first-degree) term of the linear function.
Methods
__init__
(probe_parameters[, offset, slope])- param probe_parameters
Parameter at which a measurement
-