sigma_to_B

Contents

sigma_to_B#

abtem.atoms.sigma_to_B(sigma)[source]#

Convert displacement standard deviation to crystallographic B-factor.

The B-factor (also called the Debye-Waller factor or temperature factor) is related to the r.m.s. displacement sigma by B = 8π²σ².

Parameters:

sigma (float or ndarray) – Displacement standard deviation [Å]. Accepts scalars, (3,) arrays for anisotropic displacements (Bx, By, Bz), or any broadcastable shape.

Returns:

B-factor [Ų].

Return type:

float or ndarray