pymatgen.io.exciting.inputs module¶
Classes for reading/manipulating/writing exciting input files.
-
class
ExcitingInput(structure, title=None, lockxyz=None)[source]¶ Bases:
monty.json.MSONableObject for representing the data stored in the structure part of the exciting input.
-
structure¶ Associated Structure.
-
title¶ Optional title string.
-
lockxyz¶ Lockxyz attribute for each site if available. A Nx3 array of booleans.
- Parameters
structure (Structure) – Structure object.
title (str) – Optional title for exciting input. Defaults to unit cell formula of structure. Defaults to None.
lockxyz (Nx3 array) – bool values for selective dynamics, where N is number of sites. Defaults to None.
-
bohr2ang= 0.5291692998219677¶
-
static
indent(elem, level=0)[source]¶ Helper method to indent elements.
- Parameters
elem –
level –
- Returns
-
property
lockxyz Selective dynamics site properties.
- Type
return
-
write_etree(celltype, cartesian=False, bandstr=False, symprec=0.4, angle_tolerance=5)[source]¶ - Parameters
celltype –
cartesian –
bandstr –
symprec –
angle_tolerance –
- Returns
-