export EBSD to *.crc and *.cpr files
Description
Export variable of type EBSD to proprietary Oxford Instruments HKL Channel 5 *.cpr and *.crc file format.
- In MTEX's "ebsd.load" script, any EDS data contained in the original *.crc file is ignored. Therefore, in MTEX, the EDS data belonging to an EBSD map needs to be imported and the elemental windows defined separately.
- Even if the EDS data belonging to an EBSD map was previously imported and the elemental windows defined, this script ignores it. Consequently, this script does not account for any EDS data stored in the ebsd variable. If and when MTEX implements the introduction of EBSD and EDS data, then a check for value will be introduced to
ebsd.opt.cprData.edxwindows.count
. If the value it is not zero, then that many number of columns will be should be defined in theebsdData
variable in the getCPRInfo script and "Process *.crc data" section of this script.
Syntax
Input
ebsd | EBSD |
fname | path and file name |