file_reader#

orix.io.plugins.ang.file_reader(filename: str) CrystalMap[source]#

Return a crystal map from a file in EDAX TLS’s .ang format.

The map in the input is assumed to be 2D.

Many vendors/programs produce an .ang file. Files from the following vendors/programs are tested:

  • EDAX TSL

  • NanoMegas ASTAR Index

  • EMsoft (from program EMdpmerge)

  • orix

All points satisfying the following criteria are classified as not indexed:

  • EDAX TSL: confidence index == -1

Parameters:
filename

Path and file name.

Returns:
xmap

Crystal map.