GraceDataset

class ase2sprkkr.result_files.grace.GraceDataset(graph_index, index, type='xy', data=<factory>, settings=<factory>, commands=<factory>)[source]

One Grace set (e.g. G1.S0), with data in file order.

Class hierarchy

Inheritance diagram of ase2sprkkr.result_files.grace.GraceDataset


Constructor

Parameters:
  • graph_index (int)

  • index (int)

  • type (str)

  • data (numpy.ndarray)

  • settings (Dict[str, str])

  • commands (List[str])

__init__(graph_index, index, type='xy', data=<factory>, settings=<factory>, commands=<factory>)
Parameters:
  • graph_index (int)

  • index (int)

  • type (str)

  • data (numpy.ndarray)

  • settings (Dict[str, str])

  • commands (List[str])

Return type:

None

graph_index: int
index: int
type: str = 'xy'
data: numpy.ndarray
settings: Dict[str, str]
commands: List[str]
property name
property columns
property legend
plot(axis, **kwargs)[source]

Draw this set on an existing Matplotlib axis.