in_tol nrv.utils.in_tol(test: float, ref: float, tol: float = 0.1) → bool[source] Check if a value is equal to a value +- a tol (excluded). Parameters: test (float) – Value to test ref (float) – Reference value tol (float, optional) – Tolerance, expressed as a proportion of ref. By default 0.1 Returns: True if within tolerance, else False. Return type: bool