radtools.MCLC#

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

Construct base-centred monoclinic primitive lattice.

See Base-centred monoclinic (MCLC) for the definition of primitive and conventional cells.

Order: \(b \le c\), \(\alpha < 90^{\circ}\). Input is reordered if necessary.

Parameters:
afloat

Length of the first lattice vector of the conventional cell. (The one oriented along x axis)

bfloat

Length of the shorter of the two remaining lattice vectors of the conventional cell.

cfloat

Length of the longer of the two remaining lattice vectors of the conventional cell.

alphafloat

Angle between vectors \(a_2\) and \(a_3\) of the conventional cell. In degrees.

return_cellbool, default False

Whether to return the cell instead of the Lattice object.

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

Base-centred monoclinic lattice or cell.