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.2.tar.gz (508.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: g2tools-1.4.2.tar.gz
  • Upload date:
  • Size: 508.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.9

File hashes

Hashes for g2tools-1.4.2.tar.gz
Algorithm Hash digest
SHA256 6797591de9de68a6ae6cbc92a0f9ac31acc97e9c34b9ced8adfa658cf3fea176
MD5 67024a7da762b1c225e39ec6fac434a2
BLAKE2b-256 545811664111b85d9907e69b825843f5d7ec7102d5600cf10fbf867784a1f1d0

See more details on using hashes here.

Supported by

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