data Package

data Package

Functions providing access to file data for unit tests and tutorials. Preferred way to import the module is via the import syntax:

import abipy.data as abidata

abipy.data.cif_file(filename: str) str[source]

Returns the absolute path of the CIF file in tests/data/cifs.

abipy.data.pseudo(filename: str) Pseudo[source]

Returns a Pseudo object.

abipy.data.pseudos(*filenames: list[str]) PseudoTable[source]

Returns a PseudoTable constructed from the input filenames located in tests/data/pseudos.

abipy.data.ref_file(basename: str) str[source]

Returns the absolute path of basename in tests/data directory.

abipy.data.ref_files(*basenames) list[str][source]

List with the absolute path of basenames in tests/data directory.

abipy.data.structure_from_ucell(name: str) Structure[source]

Returns a Structure from the name of entry in the database.