sim_utils#
Functions
Get relativistic mass of electron as function of acceleration voltage. |
|
Get relativistic velocity of electron from acceleration voltage. |
|
Get electron wavelength from the acceleration voltage. |
|
|
Calculate Bs * t values from beam deflection (beta). |
|
Calculate beam deflection (beta) values from Bs * t. |
Get electron scattering angle from a crystal lattice. |
|
|
Calculate beam deflection (beta) values from E * t. |
|
Calculate atomic scattering factors for n atoms. |
|
Calculates the (relativistic) electron wavelength in Angstroms for a given accelerating voltage in kV. |
|
Converts electron wavelength and lattice paramater to holz angle :param electron_wavelength: In nanometers :type electron_wavelength: scalar :param lattice_parameter: In nanometers :type lattice_parameter: scalar |
|
Calculates the variables needed for get_kinematical_intensities |
|
Calculates the interaction constant, sigma, for a given accelerating voltage. |
|
Calculates peak intensities. |
|
Finds all reciprocal lattice points inside a given reciprocal sphere. |
|
Get scattering parameter dictionary from name. |
|
Returns unique families of Miller indices, which must be permutations of each other. |
Create a flattened array of coeffs, fcoords and occus for vectorized computation of atomic scattering factors. |
|
|
Determines if a diffpy lattice is hexagonal or trigonal. |
Convert scattering angle data to lattice parameter sizes. |
|
|
Simulate electron scattering from arrangement of atoms comprising one elemental species. |
|
Convert data from Tesla to A/m |
|
Convert 4-index direction to a 3-index direction. |