mvtsa.warping.path_statistics#

mvtsa.warping.path_statistics(path, n=None, m=None)[source]#

Statistics of one warping path (L, 2).

Returns length, tightness (L / max(n, m)), warping_amount (fraction of non-diagonal steps), max_horizontal and max_vertical (longest runs of steps along one axis, i.e. the largest singularity), area (mean absolute deviation of the path from the diagonal of the n x m grid, in fractions of the length) and pathology = longest singularity divided by the shorter length.

Examples using mvtsa.warping.path_statistics#

Diagnosing and tuning warping

Diagnosing and tuning warping