Skip to main content

Yambopy: a pre/post-processing tool for Yambo

Project description

yambopy_text

yambopy

Create automatic workflows for yambo and quantum espresso using python. Work directly with netCDF databases. Do pre/post-processing, data analysis and plotting for yambo and quantum espresso.

Documentation

The main usage of yambopy is by importing its modules in the user's own scripts, such as:

from yambopy import *
from qepy import *

There is also a command line interface feature. Just type

yambopy 

on terminal to see the options. Typing yambopy [option] will show the related help message.

You can find explained tutorials and a partial documentation on the Yambo wiki page: https://www.yambo-code.eu/wiki/index.php/First_steps_in_Yambopy

The tutorials contain examples scripts illustrating how to use some of the features: they are intended to be copied, modified and adapted to other use cases and to your ideas and needs.

Additional information about capabilities and usage are available inside the tutorial folder and by reading the docstrings of the various classes. Keep in mind that a basic knowledge of python (numpy and matplotlib packages) will greatly help while using yambopy.

Features

  • Create Yambo and Quantum Espresso input files from python
  • Collect and manipulate the human-readable output data for analysis
  • Automatic submissions of calculations (e.g., custom workflows for convergence or multi-executable runs)
  • Access Yambo netCDF databases and Quantum Espresso xml files
  • Analyse, interpolate and plot the results in various ways using matplotlib
  • Visualize advanced quantities such as:
    • dielectric function, exciton weights in k and q-space, electron-phonon matrix elements...
  • Aiida plugin for Yambo-Aiida workflows
  • Tutorials

Installation

Make sure that you have a suitable python environment (crated for example with conda or venv).

Regular installation of released version

Type pip install yambopy

Local installation from this repository (for latest patches)

Clone this repository in your local machine or cluster, enter the directory and type pip install .

More information

Follow the installation steps on the Yambo wiki.

Requirements

Troubleshooting, bugs and questions

Please write a post in the yambopy subsection of the yambo forum

Current development goals

  • General review and update of all features
  • Brillouin zone paths patch
  • Full support for finite-momentum BSE postprocessing
  • Full documentation & tutorials
  • Increase efficiency of I/O for large database sizes and numbers
  • Test suite
  • Make it easier to add new features

Authors

Original author:

Current developers and maintainers:

Active contributors:

  • Claudio Attaccalite
  • Miki Bonacci
  • Jorge Cervantes-Villanueva
  • Riccardo Reho
  • Michele Re Fiorentin
  • You if you want to share your scripts!

Past contributors:

  • Matteo Zanfrognini
  • Alexandre Morlet
  • Davide Romanin
  • Daniel Murphy

The code is at an ongoing stage of development, help us by sending bug reports, patches and suggestions!

How to contribute

If you want to contribute, we suggest the following steps:

  1. Fork this repository
  2. Implement and test your new feature(s) in the forked repo
  3. Create a pull request in order to include your development in the official code

Acknoledgements

  • The Abipy library developed for the Abinit code was the original inspiration for Yambopy. In particular, abipy's SkwInterpolator module for band structure interpolations has been directly imported into yambopy.
  • Yambopy logos by Claudia Cardoso
  • University of Luxembourg
  • University of Valencia
  • Nanoscience Institute of the Italian National Research Council
  • MaX: Materials at the eXascale EU center of excellence

yambopy_logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yambopy-0.3.0.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

yambopy-0.3.0-py3-none-any.whl (6.2 MB view details)

Uploaded Python 3

File details

Details for the file yambopy-0.3.0.tar.gz.

File metadata

  • Download URL: yambopy-0.3.0.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for yambopy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c5b7138e2b4329e54ee03a07a24d2e458dac55ec3dae4b42d518136628bb8f49
MD5 04ea44a38faabea73e710739ee6f0157
BLAKE2b-256 dd1fd895a81d3911503c484d871f46f89cf7b4731d4e1fd4fc11a7e5183a7d7c

See more details on using hashes here.

File details

Details for the file yambopy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: yambopy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for yambopy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3543778609aabd5e40b57af7b461b09e0e71bd5d8fa34cd74cb892f82f555a0f
MD5 153651d929a078f3229fab569a98eb19
BLAKE2b-256 d55b26360355fdce3771334541a1934bc9a636fec9fabbb0856fb9173ea61d89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page