B_to_sigma#
- abtem.atoms.B_to_sigma(B)[source]#
Convert crystallographic B-factor to displacement standard deviation.
The r.m.s. displacement sigma is related to the B-factor by σ = sqrt(B / (8π²)).
- Parameters:
B (float or ndarray) – B-factor [Ų]. Accepts scalars, (3,) arrays for anisotropic displacements, or any broadcastable shape.
- Returns:
Displacement standard deviation [Å].
- Return type:
float or ndarray