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.structure_from_ucell(name)[source]

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

abipy.data.cif_file(filename)[source]

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

abipy.data.pseudo(filename)[source]

Returns a Pseudo object.

abipy.data.pseudos(*filenames)[source]

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

abipy.data.ref_file(basename)[source]

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

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

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