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

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(510.4 kB) Copy SHA256 Hash SHA256
Source None Feb 16, 2018

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting