This section describes the class **EBSD** and gives an overview over the functionality that MTEX offers to analyze EBSD data.

On this page ... |

Class Description |

Import of EBSD Data |

Plotting EBSD Data |

Modify EBSD Data |

Calculate an ODF from EBSD Data |

Simulate EBSD Data |

Demo |

Complete Function list |

The following mindmap might give a basic idea about EBSD data analyis in MTEX, with the ability of grain modelling for spatial data. It offers various way of interpreting individual orientation measurements, i.e. in terms of quantifying macro-,micro- and mesotexture.

The most comfortable way to import EBSD data into MTEX is to use the import wizard, which can be started by the command

`import_wizard('ebsd')`

If the dataset is in a format supported by MTEX, the import wizard generates a script which imports the data. More information about the import wizard and a list of supported file formats can be found ImportEBSDData.html,here. A typical script generated by the import wizard looks a follows.

cs = crystalSymmetry('m-3m','mineral','Fe'); % crystal symmetry % file names fname = fullfile(mtexDataPath,'EBSD','85_829grad_07_09_06.txt'); % load data ebsd = loadEBSD(fname,'CS',cs,... 'interface','generic','Bunge','ignorePhase',[0 2],... 'ColumnNames', { 'Phase' 'x' 'y' 'Euler 1' 'Euler 2' 'Euler 3'},... 'Columns', [2 3 4 5 6 7])

ebsd = EBSD Phase Orientations Mineral Color Symmetry Crystal reference frame 1 48184 (100%) Fe light blue m-3m Properties: x, y Scan unit : um

EBSD data are plotted using the command EBSD.plot.html,plot. It assigns a color to each orientation and plots a map of these colors. There are several options to specify the way the colors are assigned.

oM = ipdfHSVOrientationMapping(ebsd); plot(ebsd,oM.orientation2color(ebsd.orientations))

In order to understand the color coding, one can plot the coloring of the corresponding inverse pole figure via

plot(oM) hold on plotIPDF(ebsd('Fe').orientations,xvector,'markerSize',3,'points',500,'marker','o','markerfacecolor','none','markeredgecolor','k') hold off

I'm plotting 500 random orientations out of 48184 given orientations

MTEX offers a lot of operations to analyze and manipulate EBSD data, e.g.

- plot pole figures of EBSD data
- rotate EBSD data
- find outliers
- remove specific measurements
- combine EBSD data from several measurements
- compute an ODF

An exhaustive introduction how to analyze and modify EBSD data can be found here

The command calcODF performs an ODF calculation from EBSD data using kernel density estimation EBSD data. For a precise explanation of the algorithm and the available options please look at here.

odf = calcODF(ebsd('Fe').orientations,'halfwidth',10*degree) plotPDF(odf,Miller(1,0,0,odf.CS),'antipodal')

odf = ODF crystal symmetry : Fe (m-3m) specimen symmetry: 1 Harmonic portion: degree: 28 weight: 1

Simulating EBSD data from a given ODF is useful to analyze the stability of the ODF estimation process. There is an example demonstrating how to determine the number of individual orientation measurements to estimate the ODF up to a given error. The MTEX command to simulate EBSD data is calcEBSD, e.g.

ori = calcOrientations(unimodalODF(orientation(idquaternion,cs)),500) plotPDF(ori,Miller(1,0,0,cs),'antipodal','MarkerSize',3)

ori = orientation size: 500 x 1 crystal symmetry : Fe (m-3m) specimen symmetry: 1 I'm plotting 208 random orientations out of 500 given orientations You can specify the the number points by the option "points". The option "all" ensures that all data are plotted

For a more exhaustive description of the EBSD class have a look at the EBSD demo!

EBSD | constructor |

KAM | intragranular average misorientation angle per orientation |

affinetrans | perform an affine transformation on spatial ebsd data |

calcGrains | 2d and 3d construction of GrainSets from spatially indexed EBSD data |

calcMisorientation | calculate uncorrelated misorientations between two ebsd phases |

calcTensor | compute the average tensor for an EBSD data set |

cat | overloads [ebsd1,ebsd2,ebsd3..] |

char | ebsd > char |

display | standard output |

export | EBSD data to a ascii file |

export_h5 | export EBSD data to a ascii file |

extend | returns the boundings of spatial EBSD data |

fill | extrapolate spatial EBSD data by nearest neighbour for tetragonal lattice |

fillByGrainId | extrapolate spatial EBSD data by nearest neighbour for tetragonal lattice |

findByLocation | select EBSD data by spatial coordinates |

findByOrientation | select grains by orientation |

fliplr | flip spatial ebsddata from left to right |

flipud | flip spatial ebsddata from upside down |

gridify | extend EBSD data to an grid |

id2ind | find ind such that ebsd.id(ind) == id |

inpolygon | checks which ebsd data are within given polygon |

mtimes | rotating the ebsd data by a certain rotation |

plot | spatial EBSD plot |

quiver | plot directions at ebsd centers |

reduce | ebsd data by a factor |

rotate | EBSD orientations or spatial data around point of origin |

shift | spatial ebsddata about (x,y) |

smooth | spatial EBSD |

spatialProfile | select EBSD data along line segments |

subSet | indexing of EBSD data |

subsasgn | overloads subsasgn |

subsind | subindexing of EBSD data |

subsref | indexing of EBSD data |

updateUnitCell | this function should be called after the spatial coordinates of an EBSD |

DocHelp 0.1 beta |