exportEBSD_ang edit page

export EBSD data to a TSL/EDAX text file (ang)

Description

The written file follows the layout EDAX documents as version 5, i.e. the columns

phi1 PHI phi2 x y IQ CI phase SEM fit

and states so in the header, which is what makes it read back without guessing. Where the data was imported from an .ang file, the header values that MTEX does not model - the pattern center, the working distance, the operator - are taken over from ebsd.opt.header instead of being written as zeros.

Pixels MTEX holds as not indexed are written the way OIM writes them: phase 0 and a confidence index of -1.

Syntax

% import a ctf file
ebsd = EBSD.load('myfile.ctf')
% export as ang
export(ebsd,'myFile.ang')

Input

ebsd EBSD
fName Filename, optionally including relative or absolute path

Options

setting alignment of the Euler angle and the map reference frame the file is written for, 1 to 4, 0 switches the correction off, default is 2 - the same convention loadEBSD_ang reads with
EulerCorrection explicit correction rotation, overrides setting

Flags

flipud flip ebsd spatial data upside down (not the orientation data)
fliplr flip ebsd spatial data left right (not the orientation data)
silent do not print what is being written

See also

EBSD.export exportEBSD_ctf exportEBSD_h5