Octopost contains a pool of python3 tools for post-processing data obtained with the TDDFT code OCTOPUS.
Project description
Octopost contains a pool of python3 tools for post-processing data obtained with the TDDFT code OCTOPUS[1].
Octopost can be imported like any Python package into your analysis scripts and provides a set of easy-to-use methods for extracting, preparing and even plotting standard information like bandstructure, various (projected) density of states, reciprocal cell for periodic systems and so on. The main focus, however, lies in the ARPES (Angle-Resolved PhotoEmission Spectroscopy) methods which make calculating ARPES maps (also called k-maps) easy and quick. The calculated maps can be plotted and exported in a .hdf5 file compatible with the POT (Photoemssion Orbital Tomography) simulation and analysis software kMap.py[2].
Quick-start
pip install octopost
Installation
It is generally recommended but not required to use a virtual enviroment like venv or conda for this package. For a tutorial on how to use them please see here.
User
As a user you only need the subset of packages nessecary to run the package. The package will also not be installed in an editable form. The package will be added to your current enviroment and will be available throughout it.:
make install
on Linux, or:
pip install .
on Windows.
Developer & Maintainer
In order to develop for Octopost it is required to use the ‘-e’ flag for pip to install in editable mode. Furthermore, it is recommended to install the ‘dev’ and ‘test’ packages as well. Simply use:
make install-dev
on Linux or:
pip install -e .[test,dev]
on Windows.
Test
If you wish to run the test suite please make sure you have Octopost and its ‘test’ dependencies installed. The latter is automatically the case if you followed the ‘Developer & Maintainer’ section of the installation guide. If you installed the ‘User’ version please additionally run:
pip install .[test]
In order to run the test use:
pytest
On Linux you can also use:
make test
Demo
Inside the ‘./demo’ folder you can find a number of small scripts showcasing different Octopost functionalities and how to use them. Due to storage constraints the actual Octopus output files required for the scripts will not be available on GitLab, however, for most scripts the output plots can be found in the ‘./demo/output’ folder.
References
[1] Nicolas Tancogne-Dejean, Micael J. T. Oliveira, Xavier Andrade, Heiko Appel, Carlos H. Borca, Guillaume Le Breton, Florian Buchholz, Alberto Castro, Stefano Corni, Alfredo A. Correa, Umberto De Giovannini, Alain Delgado, Florian G. Eich, Johannes Flick, Gabriel Gil, Adrián Gomez, Nicole Helbig, Hannes Hübener, René Jestädt, Joaquim Jornet-Somoza, Ask H. Larsen, Irina V. Lebedeva, Martin Lüders, Miguel A. L. Marques, Sebastian T. Ohlmann, Silvio Pipolo, Markus Rampp, Carlo A. Rozzi, David A. Strubbe, Shunsuke A. Sato, Christian Schäfer, Iris Theophilou, Alicia Welden, and Angel Rubio , “Octopus, a computational framework for exploring light-driven phenomena and quantum dynamics in extended and finite systems”, J. Chem. Phys. 152, 124119 (2020) https://doi.org/10.1063/1.5142502
[2] Dominik Brandstetter, Xiaosheng Yang, Daniel Lüftner, F. Stefan Tautz, and Peter Puschnig , “kMap.py: A Python program for simulation and data analysis in photoemission tomography”, Computer Physics Communications 263, 107905 (2021) https://doi.org/10.1016/j.cpc.2021.107905
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 Octopost-1.0.0.post1.tar.gz
.
File metadata
- Download URL: Octopost-1.0.0.post1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43b7f411d29b08b4bc71d3dda176b6eede68a70eb6b8c4fb93bb23ee34f99df |
|
MD5 | eaa0d638c10ea4c5a530c6fb8f4f8f95 |
|
BLAKE2b-256 | 0c88b36bc52c9194963e2ada0fa3a85e4b28217c46aff5dec4bf267db25320b7 |
File details
Details for the file Octopost-1.0.0.post1-py3-none-any.whl
.
File metadata
- Download URL: Octopost-1.0.0.post1-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafbfcc046e7999d346d139b5ccaab260e3b2d5db0cb1a56278843050cbbcfb6 |
|
MD5 | 52dc1de34be38815571c0e614e5f9ca5 |
|
BLAKE2b-256 | 73a165ca1b0b0891a58d6aeaded432515bc56053d873406a83ebf2ca64262891 |