make_canonical#
- libcasm.xtal.make_canonical( ) Any [source]#
Make an equivalent Lattice, Prim, or Structure with the canonical form of the lattice
- Parameters:
obj (Union[Lattice, Prim, Structure]) – A Lattice, Prim, or Structure, which determines whether
make_canonical_lattice()
, ormake_canonical_prim()
,make_canonical_structure()
is called.- Returns:
canonical_obj – The equivalent Lattice, Prim, or Structure with canonical form of the lattice.
- Return type: