KVectorGrid#
- class de_ebsd.diffraction.KVectorGrid(npx, directions)[source]#
Bases:
objectIncident-beam directions covering the sphere.
- Attributes:
- npx
Half-width of the square Lambert grid; each hemisphere map has shape
(2 npx + 1, 2 npx + 1).- directions
Unit vectors, shape
(2, 2 npx + 1, 2 npx + 1, 3); index 0 is the northern hemisphere (z >= 0), index 1 the southern.
Methods
All directions as a flat (K, 3) tensor (north first, row-major).
Display the sampled incident directions on an interactive sphere.
Attributes
n_directionsnpxdirections