Measurement.compare_residuals¶
- abstract static Measurement.compare_residuals(first, second)[source]¶
This compares residuals computed using these measurement models.
If this returns
True
, thenfirst
is smaller than or equal tosecond
(according to the definition of the residuals for this measurement). IfFalse, then ``first
is larger thansecond
. This is used to check for divergence.- Parameters:
first (Sequence | ndarray | Real) – The first residual
second (Sequence | ndarray | Real) – The second residual
- Returns:
True
if the first residual <= second residual otherwiseFalse
- Return type:
bool