QuickstartΒΆ
Load a map and plot the confidence index (CI), the inverse pole figure (IPF) along the normal direction (ND) and the pole figure (PF) of the [1,0,0] direction:
Read EBSD data from a file (.ang, .osc, EDAX .h5, .crc, .ctf, or .txt).
Plot the confidence index.
Plot the IPF along ND, the default, and add a scale bar.
Plot the PF as a density.
from ebsdlab.ebsd import EBSD
e = EBSD("../tests/DataFiles/EBSD.ang")
print('\nPlot confidence index:')
e.plot(e.ci)
print('\nPlot default IPF:')
e.plotIPF()
print('\nSame plot as before but with scale bar:')
e.addScaleBar()
print('\nPlot PF as a density:')
e.plotPF([1,0,0])
Load .ang file: ../tests/DataFiles/EBSD.ang
Read file with step size: 0.2 0.17321 HexGrid
Optimal image pixel size: 103
Number of points: 23909
Plot confidence index:
Plot with x and y axis in [um]
Plot default IPF:
Same plot as before but with scale bar:
Plot PF as a density:
Next: the User guide shows more options; Conventions explains the directions of the plots.