atlas.benchmarks package

Benchmark utilities for MLIP and DFT evaluation.

Subpackages

Submodules

atlas.benchmarks.benchmark_utils module

DFT benchmark utilities for the ATLAS package.

atlas.benchmarks.benchmark_utils.compute_kpt_density(kpoints: Kpoints, poscar: Poscar)
atlas.benchmarks.benchmark_utils.gen_kspacing_from_vasp_input(path: Path, kpoints: Kpoints = None, poscar: Poscar = None) array

Generate an array containing the kpoint density for the compound on the 3 axis, in 2pi*A^-1 units, using VASP files. This requires a POSCAR and a KPOINTS from vasp, which can be specified using either a single path or by passing their equivalent pymatgen objects as arguments.

Parameters:
  • path (plb.Path | str) – Path object or string representing a path where both required files are located

  • kpoints (Vasp.Kpoints, optional) – pymatgen Kpoints object, by default None

  • poscar (Vasp.Poscar, optional) – pymatgen Poscar object, by default None

Returns:

3 element array containing the kpoint density on each axis, in 2pi*A^-1 units.

Return type:

np.array

Module contents

Module containing benchmark utilities for selecting best DFT settings.