addphase#
- pyebsdindex.tripletvote.addphase(libtype=None, phasename=None, spacegroup=None, latticeparameter=None, polefamilies=None, nband_earlyexit=10, pointgroup=None, pointgroupid=None)[source]#
Return a band indexer for a phase.
- Parameters:
- libtype
str,optional Shorthand definition of a phase. Options are FCC, BCC, or HCP.
- phasename
str,optional Phase name.
- spacegroup
int,optional Space group of the phase.
- latticeparameter
np.ndarray,tuple,orlist,optional Lattice parameters (a, b, c, alpha, beta, gamma).
- polefamilies
np.ndarray,tuple,orlist,optional Reflector families to use in indexing.
- nband_earlyexit
int,optional If this phase is first in a list of phases used in indexing, and if this many bands are matched, the remaining phases in the list will not be checked. Default is 10, unless
libtypeis passed, in which case it is 8.
- libtype
- Returns:
BandIndexerBand indexer for this phase.