get_indexer#
- EBSDDetector.get_indexer(phase_list: ocm.PhaseList, reflectors: list[ReciprocalLatticeVector | np.ndarray | list | tuple | None] | None = None, **kwargs) EBSDIndexer[source]#
Return a PyEBSDIndex EBSD indexer.
- Parameters:
- phase_list
List of phases.
EBSDIndexeronly supports a list containing one face-centered cubic (FCC) phase, one body-centered cubic (BCC) phase or both.- reflectors
List of reflectors or pole families \(\{hkl\}\) to use in indexing for each phase. If not passed, the default in
pyebsdindex.tripletvote.addphase()is used. For each phase, the reflectors can either be a NumPy array, a list, a tuple, aReciprocalLatticeVector, or None.- **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,camElevandpatDim.
- Returns:
pyebsdindex.ebsd_index.EBSDIndexerIndexer instance for use with PyEBSDIndex or in
hough_indexing().indexer.PCis set equal topc_flattened.
See also
Notes
Requires that PyEBSDIndex is installed, which is an optional dependency of kikuchipy. See Dependencies for details.
If you use Hough indexing in kikuchipy in your work, please cite both kikuchipy [Ånes et al., 2026] and PyEBSDIndex [Rowenhorst et al., 2024].