radtools.ORC_standardize_cell#

radtools.ORC_standardize_cell(cell, rtol=0.0001, atol=1e-08)[source]#

Analyse arbitrary cell and redefine vectors if required to satisfy the ORC lattice conditions.

See Orthorhombic (ORC) for the details.

Parameters:
cell(3,3) numpy.ndarray

Primitive unit cell.

rtolfloat, default REL_TOL

Relative tolerance for numerical comparison.

atolfloat, default ABS_TOL

Absolute tolerance for numerical comparison.

Returns:
cell(3,3) numpy.ndarray

Primitive unit cell.