pantea.datasets package#
Submodules#
pantea.datasets.dataset module#
- class pantea.datasets.dataset.Dataset(datasource, persist, cache=<factory>)[source]#
Bases:
objectA container for Structure data with caching support.
- datasource: DataSourceInterface#
- persist: bool#
pantea.datasets.runner module#
- class pantea.datasets.runner.RunnerDataSource(filename, dtype=None)[source]#
Bases:
objectThe class is intended for the input data format of RuNNer consists of atomic attributes and simulation box information. Within each snapshot, there are two types of properties: per-atom properties and collective properties.
The per-atom properties encompass various attributes like the element name, positions, energy, charge, force components, and more.
On the other hand, the collective properties include attributes such as lattice parameters, total energy, and total charge.
Create a RuNNer structure data by initializing it from an input file.
- Parameters
filename (Path) – input file name
dtype (Optional[Dtype], optional) – precision for the structure data, defaults to None
Module contents#
- class pantea.datasets.Dataset(datasource, persist, cache=<factory>)[source]#
Bases:
objectA container for Structure data with caching support.
- datasource: DataSourceInterface#
- persist: bool#
- class pantea.datasets.RunnerDataSource(filename, dtype=None)[source]#
Bases:
objectThe class is intended for the input data format of RuNNer consists of atomic attributes and simulation box information. Within each snapshot, there are two types of properties: per-atom properties and collective properties.
The per-atom properties encompass various attributes like the element name, positions, energy, charge, force components, and more.
On the other hand, the collective properties include attributes such as lattice parameters, total energy, and total charge.
Create a RuNNer structure data by initializing it from an input file.
- Parameters
filename (Path) – input file name
dtype (Optional[Dtype], optional) – precision for the structure data, defaults to None