pymatgen.io.cssr module¶
This module provides input and output from the CSSR file format.
-
class
Cssr(structure)[source]¶ Bases:
objectBasic object for working with Cssr file. Right now, only conversion from a Structure to a Cssr file is supported.
- Parameters
structure (Structure/IStructure) – A structure to create the Cssr object.
-
static
from_file(filename)[source]¶ Reads a CSSR file to a Cssr object.
- Parameters
filename (str) – Filename to read from.
- Returns
Cssr object.