Installation

To install the green-mbtools binary package simply execute

pip install green-mbtools

To build from sources download the source code either from github or from PyPI and run

git clone https://github.com/Green-Phys/green-mbtools.git
python -m build

This will automatically build the Nevanlinna and Caratheodory extensions, which are written in C++.

Dependencies

  1. Python packages: numpy, scipy, h5py, green-ac, pyscf, ase, spglib, irbasis, cvxpy, and baryrat.

  2. C++ libraries: Eigen, GMP, MPFR

  3. pytest for testing

  4. The Maxent external C++ library needs to be built separately to run analytic continuation tasks using the maxent method.