Skip to main content

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 functions or classes include:

moments(G)

Compute moments of jj correlator G.

mom2taylor(mom)

Convert moments mom into Taylor coefficients for q2-expansion.

taylor2mom(tayl)

Convert Taylor expansion coefficients tayl into moments.

vacpol(mom)

Create a Pade approximant for the subtracted vacuum polarization (PI-hat) from the jj correlator whose moments (or Taylor coefficients) are in mom.

fourier_vacpol(G)

Create subtracted vacuum polarization (PI-hat) by Fourier transforming jj correlator G(t).

a_mu(pihat, Q)

Compute the contribution to the muon’s g-2 anomaly from function pihat (usually built by vacpol).

R2G(E, R)

Compute the Euclidean G(t) corresponding to data for Re+e-.

R2a_mu(E, R)

Compute the leading-order contribution to the muon’s g-2 anomaly corresponding to data for Re+e-.

TanhWin(t0, t1, dt)

Create a filter for applying a t-window in monents(...) or fourier_vacpol(...).

pade_gvar(f, m, n)

General-purpose code for determining Pade approximants to a power series whose coefficients are GVars (ie, Gaussian random variables, for error propagation).

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.

Information on how to install the module is in the file INSTALLATION.

To test the module try make tests.

Documentation is in the doc directory: open doc/html/index.html or look online at <https://g2tools.readthedocs.io>.

The examples directory has a complete example, showing how to go from Monte Carlo data for a jj correlator to a contribution to the muon’s magnetic moment anomaly aµ. See also the introduction in the documentation.

The general technique that underlies this module is described in Chakraborty et al, Phys.Rev. D89 (2014) no.11, 114501. Google arXiv:1403.1778 to find a preprint on the web.

Created by G. Peter Lepage (Cornell University) on on 2014-09-13.
Copyright (c) 20014-22 G. Peter Lepage.
https://zenodo.org/badge/66222496.svg

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

g2tools-1.4.tar.gz (550.2 kB view details)

Uploaded Source

File details

Details for the file g2tools-1.4.tar.gz.

File metadata

  • Download URL: g2tools-1.4.tar.gz
  • Upload date:
  • Size: 550.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for g2tools-1.4.tar.gz
Algorithm Hash digest
SHA256 00cb985603fe4ca468599ccd82d9c08d38507f2986124521c3d847be7347f68d
MD5 e740c9a5b193621e9559e0a3c1576329
BLAKE2b-256 1bc3ec99e74bc820ac286e12dad219bed1f123e633f3c0cd7df52e5a6c0b7611

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