A process detects distortions to magnetic location or orientation
determinations. The process includes measuring a plurality of magnetic
field values, determining one of a probe's location and a probe's
orientation from an extremum of an optimization function. The measured
values depend on the probe's location and orientation. The optimization
function depends on the measured field values and field values calculated
from a model. The process also includes indicating that a distortion to
the determining exists in response to the extremum belonging to a
preselected range.