yambo-code / yambopy

Python scripts to manage and postprocess quantum espresso and yambo calculation.
Other
13 stars 14 forks source link

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

Installation

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

Use python version >=3.10.

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

Yambopy works for the following DFT/MBPT codes:

Troubleshooting, bugs and questions

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

Current development goals

Authors

Original author:

Current developers and maintainers:

Active contributors:

Past contributors:

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

Acknowledgements

yambopy_logo