addphase#
- pyebsdindex.tripletvote.addphase(libtype=None, phasename=None, spacegroup=None, latticeparameter=None, polefamilies=None, nband_earlyexit=10)[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
,or
list
,optional
Lattice parameters (a, b, c, alpha, beta, gamma).
- polefamilies
np.ndarray
,tuple
,or
list
,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
libtype
is passed, in which case it is 8.
- libtype
- Returns:
BandIndexer
Band indexer for this phase.