EBSD.fixPos edit page

correct x,y coordinates suffering from rounding issues Either provide the desired regilar step size, otherwise it is intended to find a likely step size by rounding

Syntax

ebsd = fixPos(ebsd)
ebsd = fixPos(ebsd,'tolerance',1e-3,'sigFigure',4)
ebsd = fixPos(ebsd, dPos)

Input

ebsd
dPos anticipated step size (optional)

Output

ebsd

Options

'tolerance' 'tol' absolute allowed variation in stepsize (default 1e-6) assuming micron as scan units, nobody (as of 2026) on the planet has step sizes accurate at a sub-nanometer level!
'sigFigure' 'sig' significant decimals in fixed step size used for rounding (default 3)