Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.

Project details

Release history Release notifications

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
g2tools-1.3.2.tar.gz (510.4 kB) Copy SHA256 hash SHA256 Source None Feb 16, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page