pymatgen.io.exciting.inputs module

class ExcitingInput(structure, title=None, lockxyz=None)[source]

Bases: monty.json.MSONable

Object for representing the data stored in the structure part of the exciting input.

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.
structure

Associated Structure.

title

Optional title string.

lockxyz

Lockxyz attribute for each site if available. A Nx3 array of booleans.

bohr2ang = 0.5291692995889712
static from_file(filename)[source]
static from_string(data)[source]

Reads the exciting input from a string

static indent(elem, level=0)[source]
lockxyz
write_etree(celltype, cartesian=False, bandstr=False, symprec=0.4, angle_tolerance=5)[source]
write_file(celltype, filename, cartesian=False, bandstr=False, symprec=0.4, angle_tolerance=5)[source]
write_string(celltype, cartesian=False, bandstr=False, symprec=0.4, angle_tolerance=5)[source]