Skip to main content

Collection of commonly used Green's functions and utilities

Project description

master

Build status master

Coverage master

develop

Build status develop

Coverage develop

Collection of commonly used Green’s functions and utilities. The main purpose of this module is to have a tested and thus reliable basis to do numerics. It happened to me too often, that I just made a mistake copying the Green’s function and was then wondering what was wrong with my algorithm. The main use case of GfTools was DMFT and its real space generalization, in particular using CT-QMC algorithms.

Installation

The package is available on PyPi:

$ pip install gftool

Alternatively, it can be installed via GitHub. You can install it using

$ pip install https://github.com/DerWeh/gftools/archive/VERSION.zip

where VERSION can be a release (e.g. 0.5.1) or a branch (e.g. develop). (As always, it is not advised to install it into your system Python, consider using pipenv, venv, conda, pyenv, or similar tools.) Of course you can also clone or fork the project.

Documentation

The documentation and API can be found here: documentation. There is now also documentation on ReadTheDocs: master doc, develop doc, latest doc

Currently the packages main content is

gftool
  • collection of non-interacting Green’s functions and spectral functions, see also the lattice submodule.

  • utility functions like Matsubara frequencies and Fermi functions.

  • reliable calculation of particle numbers via Matsubara sums (needs a refactor and more accurate extrapolation)

fourier
  • Fourier transforms from Matsubara frequencies to imaginary time and back, including the handling of high-frequencies moments (especially import for transforms from Matsubara to imaginary time)

matrix
  • helper for Green’s functions in matrix form

pade
  • analytic continuation via the Padé algorithm

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

gftool-0.7.0.tar.gz (70.6 kB view details)

Uploaded Source

File details

Details for the file gftool-0.7.0.tar.gz.

File metadata

  • Download URL: gftool-0.7.0.tar.gz
  • Upload date:
  • Size: 70.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for gftool-0.7.0.tar.gz
Algorithm Hash digest
SHA256 df03b7665a66fe09d1205154d060a528b9b689d5f5d2be35f6c539c099604977
MD5 a8586f2c8f8752ccdd9d8a37b896aa83
BLAKE2b-256 2279b6af2a952c7882ff8b56dfb8803e91a35c1e513eff9374c20381f27b1b7f

See more details on using hashes here.

Supported by

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