core#
Frame conventions, physical constants and coordinate maps shared package-wide.
Functions
|
Relativistic electron wavelength in nm (EMsoft |
|
Interaction constant sigma in (V nm)^-1 (EMsoft |
|
Northern-hemisphere unit vectors for every master pattern pixel. |
Unit quaternions (..., 4), order (a, b, c, d), to matrices (..., 3, 3). |
|
|
Relativistic correction factor gamma = 1 + e V / (m0 c^2). |
|
Rotate vectors |
|
Rows are the detector basis (X_d, Y_d, Z_d) in sample coordinates. |
|
|
|
Unit vectors (..., 3) to square Lambert coordinates (..., 2), book units. |
|
Square Lambert coordinates (..., 2, book units) to unit vectors (..., 3). |