Toolbox
Fitting criteria
The same measured points, fitted by least squares and by the minimum zone, and round a shaft by the smallest circle around them and the largest inside them: four rules, four numbers.
How it is computed
- Small deviations. The deviations are micrometres on a line of 100 mm or a shaft of 20 mm, so a fitted line is a + b·x and a tilt or a shift of the line is a straight term of the deviations, as in the 3D viewer.
- The circle. The radial deviations are fitted as R + ex·cos θ + ey·sin θ: R is the size, (ex, ey) the centre. The figure draws the deviations and the centres magnified by the same factor.
- Least squares is solved by its normal equations. The minimum zone is found exactly, by exchanging one point at a time until the largest deviation cannot fall (the same exchange as the viewer's). The circumscribed and inscribed circles are found the same way, on one side; when several centres give the same radius, about the nearest to the least-squares centre is kept.
- Two readings. The range is the highest point less the lowest, both measured from the fitted feature: the standard's default. Twice the largest distance is the width of a zone centred on the fitted feature. From the middle of the minimum zone the two are equal.
- No filtering. Every point counts as measured, the stray point included: a measuring machine would filter the profile first.
A model for learning, not an inspection report: the points are made by the page, with the shape, the noise and the stray point you set.