A three-dimensional reconstruction of stray magnetic fields of a magnetic head by electron beam tomography.