test_point_rms#
- pyCGM2.Utils.testingUtils.test_point_rms(acq, RefLabel, LabelToTest, threshold, init=-1, end=-1)#
Assert that the rms difference between two points of an acquisition is below a threshold.
- Parameters:
acq (btk.btkAcquisition) – Acquisition.
RefLabel (str) – Reference point label.
LabelToTest (str) – Tested point label.
threshold (float | array_like) – Threshold of each component.
init (int, optional) – First frame. Defaults to -1 (first frame of the acquisition).
end (int, optional) – Last frame. Defaults to -1 (last frame of the acquisition).