radtools.BCT#

radtools.BCT(a: float, c: float, return_cell=False)[source]#

Construct body-centred tetragonal primitive lattice.

See Body-centred tetragonal (BCT) for the definition of primitive and conventional cells.

Parameters:
afloat

Length of the two equal lattice vectors of the conventional cell.

cfloat

Length of the third lattice vector of the conventional cell.

return_cellbool, default False

Whether to return the cell instead of the Lattice object.

Returns:
latticeLattice or (3, 3) numpy.ndarray

Body-centred tetragonal lattice cell.