sknano.core.crystallography.Crystal2DStructure.from_spacegroup

classmethod Crystal2DStructure.from_spacegroup(sg, lattice=None, basis=None, coords=None, **kwargs)[source][source]

Return a Crystal2DStructure from a spacegroup number/symbol.

Parameters:

sg : int or str

lattice : Crystal2DLattice

basis : list of strs

coords : list of floats

Returns:

Crystal2DStructure

Notes

Under the hood this method first s a pymatgen Structure