export EBSD data to a Channel 5 text file (ctf)
Description
The resulting ctf file can for instance be opened with Channel 5, Aztec or Atex. Where the data was imported from a ctf file, the acquisition parameters that MTEX does not model - magnification, tilt, detector orientation - are taken over from ebsd.opt.header instead of being written as zeros. They can also be handed over as the structure a cpr file import returns, or typed in.
Phases are written the way Channel numbers them: 1 to N in the order of the phase table, with 0 for not indexed.
Syntax
ebsd = EBSD.load('myfile.ang')export(ebsd,'myFile.ctf')
exportEBSD_ctf(ebsd,'myFile.ctf',cprStruct)
exportEBSD_ctf(ebsd,'myFile.ctf','manual')Input
| ebsd | EBSD |
| fName | Filename, optionally including relative or absolute path |
| cprStruct | structure with properties from a cpr file import |
Options
| EulerCorrection | alignment of the Euler angle and the map reference frame the file is written for, default is the rotation of 180 degree about z that loadEBSD_ctf reads with |
Flags
| manual | prompt for the microscopy parameters |
| 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 |
Authors
Originally contributed by Dr. Frank Niessen, University of Wollongong, 2019, with acknowledgements to Dr. Azdiar A. Gazder - see the license at the end of this file.
See also
Citing this page.
This page is part of the documentation of
MTEX, a free and open
source MATLAB toolbox for analyzing and modeling crystallographic textures.
It was written by The MTEX Developers and is published at
https://mtex-toolbox.github.io/exportEBSD_ctf.html.
If you use MTEX, or reuse text or figures from this page, in your research,
please cite
F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63
BibTeX
@article{bachmann2010mtex,
author = {F. Bachmann and R. Hielscher and H. Schaeben},
title = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
journal = {Solid State Phenomena},
volume = {160},
pages = {63-68},
year = {2010},
doi = {10.4028/www.scientific.net/SSP.160.63},
url = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}
Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.