gridify edit page

extend EBSD data to an grid


matrix shaped regular grid. No interpolation is done herby. Grid points in the regular grid that do not have a correspondence in the regular grid are set to NaN. Having the EBSD data in matrix form has several advantages:

  • required for gradient, curvature and GND computation
  • much faster visualisation of big maps
  • much faster computation of the kernel average misorientation


[ebsdGrid,newId] = gridify(ebsd)
[ebsdGrid,newId] = gridify(ebsd,'unitCell',unitCell)


ebsd an EBSD data set with a non regular grid


ebsd EBSDsquare, EBSDhex data on a regular grid
newId closest regular grid point for every non regular grid point