An FHI-aims official Python package
Project description
pyfhiaims – an FHI-aims Python suite
Installation
You can install pyfhiaims
from PyPI via pip
:
pip install pyfhiaims
Or, alternatively, you can install it from the main branch of this Git repository:
git clone https://gitlab.com/FHI-aims-club/pyfhiaims.git
cd pyfhiaims
pip install .
Usage
The FHI-aims output file can be parsed in the following way:
from pyfhiaims import AimsStdout
stdout = AimsStdout("aims.out")
Then you can access all the parsed results (stdout.results
),
run metadata (runtime choices and some geometry statistics —
stdout.metadata
), warnings (stdout.warnings
), and errors.
Also, stdout.is_finished_ok
tells if FHI-aims run has been finished
without any errors.
There are several properties defined that make access to different
widely used values easier, like energy
and forces
.
Also, the top level keys of stdout.results
dictionary can be accessed
using dot notation (so run times can be accessed with
stdout.final["time"]
).
There are many values that are parsed from the aims.out
file; you are
welcome to explore stdout.results
dictionary.
Support
Just write us an issue in the issue tracker!
Roadmap
To be written...
Contributing
Contributions are extremely welcome!
Authors and acknowledgment
The package was written by:
- Tom Purcell
- Andrei Sobolev
License
The project is licensed under MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyfhiaims-0.0.3.tar.gz
.
File metadata
- Download URL: pyfhiaims-0.0.3.tar.gz
- Upload date:
- Size: 55.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4753a8176214841ea46625bbd9efe68cb667a38d2da91bcfa7cbf62f0ba1f256 |
|
MD5 | dc73ad92f3e6d5c838d776af2ad53ec7 |
|
BLAKE2b-256 | fe878dbe132ac5f8449d131c231fa6a162380952679c61810898330f9425eeb2 |
File details
Details for the file pyfhiaims-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pyfhiaims-0.0.3-py3-none-any.whl
- Upload date:
- Size: 67.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348b8821afbebc56fa8f1d466a1b363c3da7ba8b5c3530c594394d97884e9405 |
|
MD5 | 94f6309a5d9787a73908b96d204895f3 |
|
BLAKE2b-256 | a6ba3497aea3fa831ff98a9caee26e1370ad0cdce36a35960aa028994ff8dab6 |