radtools.BCC#
- radtools.BCC(a: float, return_cell=False)[source]#
Construct body-centred cubic primitive lattice.
See Body-centered cubic (BCC) for the definition of primitive and conventional cells.
- Parameters:
- afloat
Length of the all three lattice vectors of the conventional cell.
- return_cellbool, default False
Whether to return the cell instead of the
Latticeobject.
- Returns:
- lattice
Latticeor (3, 3) numpy.ndarray Body-centred cubic lattice or cell.
- lattice