Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Utilities for muon g-2 analyses in lattice QCD.

Project Description

This module contains a small number of tools useful for analyzing contributions to the muon’s magnetic moment from (lattice) QCD vacuum polarization. The general technique is described in arXiv:1403.1778. The functions or classes include:

moments(G) – compute moments of jj correlator G.

mom2taylor(G) – convert moments in G into Taylor coefficients
for q2-expansion.

taylor2mom(G) – convert Taylor expansion coefficients G into moments.

vacpol(G) – create a Pade approximant for the subtracted
vacuum polarization (PI-hat) from the jj correlator whose moments (or Taylor coefs) are in G.
a_mu(pihat, Q) – compute the contribution to the muon’s g-2
anomaly from function pihat (usually built by vacpol).
pade_gvar(f,m,n)– general-purpose code for determining Pade approximants
to a power series whose coefficients are GVars.
pade_svd(f,m,n) – general-purpose code for determining Pade approximants
for a power series whose coefficients are floats. Uses SVD regularization to stabilize results when the input data are noisy.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
g2tools-1.3.tar.gz (486.6 kB) Copy SHA256 Checksum SHA256 Source Jun 13, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting