spatialProfile

(method of EBSD)

select EBSD data along line segments

Syntax

% returns a sorted list of ebsd data along lineX
[ebsd_lineX,dist] = spatialProfile(ebsd,lineX)

Input

ebsd

EBSD

lineX

list of spatial coordinates [x(:) y(:)] of if 3d [x(:) y(:) z(:)], where $x_i,x_{i+1}$ defines a line segment

Output

ebsd

EBSD restrcited to the line of interest

dist

double distance along the line to the initial point

mple

texdata twins lot(ebsd('indexed'),ebsd('indexed').orientations) ineX = ginput(2) bsd_lineX = spatialProfile(ebsd,lineX) lf; plot(ebsd_lineX.x,angle(ebsd_lineX(1).orientations,ebsd_lineX.orientations)./degree) label('x'), ylabel('misorientation angle')