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.4.tar.gz
.
File metadata
- Download URL: pyfhiaims-0.0.4.tar.gz
- Upload date:
- Size: 55.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c3d7d514568320a05ffb9f29c298098909688928840ca6404514502db69eff |
|
MD5 | 03218b2304ce29c3ec76c029fded00da |
|
BLAKE2b-256 | f1e5f858dfe03bcb6818e12b2fbe6391fffaf91762de734eb1d2f554787d493f |
File details
Details for the file pyfhiaims-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pyfhiaims-0.0.4-py3-none-any.whl
- Upload date:
- Size: 67.4 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 | 2daee9912bd9779b9410ef85ee54fad263971e253df8554ff9f99e49936ef9d5 |
|
MD5 | af00fc18f8bff9d86bdaecf76592050a |
|
BLAKE2b-256 | c039f03c97f0f92d23d1e733b24890f67773befbe53f84323e402d27cf953ae0 |