MillerIndices¶
- class MillerIndices(h=1, k=0, l=0)¶
Class for representing a triplet of Miller indices.
- Parameters:
h (int) – The first Miller index.
k (int) – The second Miller index.
l (int) – The third Miller index.
- h()¶
- Returns:
The first index.
- Return type:
int
- hkl()¶
Return the indices.
- Returns:
The indices
- Return type:
array of ints
- k()¶
- Returns:
The second index.
- Return type:
int
- l()¶
- Returns:
The third index.
- Return type:
int