StructureFactors#
- class de_ebsd.crystal.StructureFactors(crystal, energy_kev, dmin, hmax, ucg_lut, v0, upz0, wavelength, hkl, g, d, ucg)[source]#
Bases:
objectStructure factors of a crystal at one beam energy (inspectable stage).
- Attributes:
- crystal, energy_kev, dmin
The inputs that produced this table.
- hmax
Largest Miller index with d >= dmin along any axis; the lookup table spans
-2 hmax .. 2 hmaxper axis so any difference of two reflections in the sphere is available.- ucg_lut
Complex U_g in nm^-2, shape (4 hmax + 1,) * 3, indexed
[h + 2 hmax, k + 2 hmax, l + 2 hmax].- v0
Mean inner potential in volts.
- upz0
Normal absorption coefficient U’_0 in nm^-2.
- wavelength
Relativistic electron wavelength in nm, refraction corrected with v0.
normal_absorption_lengthNormal absorption length 1 / (U’_0 lambda) in nm.
- hkl, g, d, ucg
Flat listing of the reflections with 0 < g and d >= dmin that are allowed by the lattice centering, sorted by g: Miller indices (N, 3), lengths (N,) in nm^-1, spacings (N,) in nm and complex U_g (N,).
Methods
Group the reflection list by
|g|; representative hkl, g, and U_g.U_g for Miller indices (..., 3); indices must lie within the table.
Bar chart of
|U_g|for the firstnreflection families.Attributes
Normal absorption length 1 / (U'_0 lambda) in nm.
crystalenergy_kevdminhmaxucg_lutv0upz0wavelengthhklgducg- families(n=None)[source]#
Group the reflection list by
|g|; representative hkl, g, and U_g.Returns the first
n(or all) families sorted by g length.
- property normal_absorption_length#
Normal absorption length 1 / (U’_0 lambda) in nm.