ReflectionList#

class de_ebsd.diffraction.ReflectionList(hkl, g, d, u_mod, forbidden, k=None, sg=None, status=None)[source]#

Bases: object

A list of reflections, optionally classified for one beam direction.

Attributes:
hkl, g, d, u_mod

Miller indices (N, 3), lengths |g| (nm^-1), spacings d (nm), and structure-factor moduli |U_g| (nm^-2).

forbidden

True where |U_g| is (numerically) zero; such reflections only matter as double-diffraction channels.

k

The beam direction (unit vector, Cartesian crystal frame) used for the classification, or None for the master list.

sg

Excitation errors (nm^-1) for k, or None.

status

Per-reflection STRONG / WEAK / IGNORED for k, or None.

Methods

show

Bar chart of |U_g| for the first n reflections.

strong

Miller indices of the strong reflections.

weak

Miller indices of the weak reflections.

Attributes

k

n_strong

n_weak

sg

status

hkl

g

d

u_mod

forbidden

show(n=40)[source]#

Bar chart of |U_g| for the first n reflections.

With a classification, bars are colored by status (strong / weak / ignored); without one, all bars share one color.

strong()[source]#

Miller indices of the strong reflections.

weak()[source]#

Miller indices of the weak reflections.