get_indexer#

EBSDDetector.get_indexer(phase_list: PhaseList, **kwargs) EBSDIndexer[source]#

Return a PyEBSDIndex EBSD indexer.

Parameters:
phase_list

List of phases. EBSDIndexer only supports a list containing one face-centered cubic (FCC) phase, one body-centered cubic (BCC) phase or both.

**kwargs

Keyword arguments passed to EBSDIndexer, except for the following arguments which cannot be passed since they are determined from the detector or phase_list: phaselist (not to be confused with phase_list), vendor, PC, sampleTilt, camElev and patDim.

Returns:
pyebsdindex.ebsd_index.EBSDIndexer

Indexer instance for use with PyEBSDIndex or in hough_indexing(). indexer.PC is set equal to pc_flattened.

Notes

Requires that PyEBSDIndex is installed, which is an optional dependency of kikuchipy. See Optional dependencies for details.