GraceFile
- class ase2sprkkr.result_files.grace.GraceFile(graphs=<factory>, settings=<factory>, commands=<factory>)[source]
Parsed Grace file; no matplotlib import or dependency.
Use GraceFile.from_file(path) or GraceFile.from_string(text). graphs[1].datasets[0].data retrieves the data for G1.S0. datasets is a mapping from G*.S* identifiers to datasets.
Class hierarchy
Constructor
- Parameters:
graphs (Dict[int, ase2sprkkr.result_files.grace.GraceGraph])
settings (Dict[str, str])
commands (List[str])
- __init__(graphs=<factory>, settings=<factory>, commands=<factory>)
- Parameters:
graphs (Dict[int, ase2sprkkr.result_files.grace.GraceGraph])
settings (Dict[str, str])
commands (List[str])
- Return type:
None
- graphs: Dict[int, ase2sprkkr.result_files.grace.GraceGraph]
- settings: Dict[str, str]
- commands: List[str]
- property datasets
- property data
Mapping G*.S* to the underlying NumPy arrays.