Skip to main content

AnalysisToolbox

Maintenance DOI

The AnalysisToolbox set of Python tools for statistically analyzing correlated data. This includes aspects of lattice QCD applications related to QCD phenomenology.

We advertise briefly here some features of the AnalysisToolbox:

  • General mathematics: Numerical differentiation, convenience wrappers for SciPy numerical integration and solving IVPs.
  • General statistics: Jackknife, bootstrap, Gaussian bootstrap, error propagation, various information criteria, estimation of integrated autocorrelation time, error ellipses, Kolmogorov-Smirnov tests, and curve fitting with and without Bayesian priors. We stress that our math and statistics methods are generally useful, independent of physics contexts.
  • General physics: Unit conversions, critical exponents for various universality classes, physical constants, framework for spin models.
  • QCD physics: Hadron resonance gas model, HotQCD equation of state, and the QCD beta function. These methods are useful for QCD phenomenology, independent of lattice contexts.
  • Lattice QCD: Continuum-limit extrapolation, Polyakov loop observables, SU(3) gauge fields, reading in gauge fields, and the static quark-antiquark potential. These methods rather target lattice QCD.

In any of the above cases, after installing the AnalysisToolbox, you can easily incorporate its features in your own Python scripts like any other library. Some simple examples are in the tutorial. A realistic use-case that weaves the AnalysisToolbox into a lattice QCD workflow can be found in this data publication. More information can be found in the documentation.

To use the AnalysisToolbox, make sure you have Python 3.9+. You should then be able to conveniently install it using

pip install latqcdtools

Besides this, there is a latexify() command you can use when plotting to make your plot font match typical LaTeX documents. In order for this command to work, you need to have LaTeX installed on your system. The easiest is to install texlive-full, but if that is not possible, it may be enough to install texlive-mathscience in addition to the basic stuff.

Getting started and documentation

To acquaint yourself with the AnalysisToolbox, you can start by having a look at the tutorial, which walks through some scripts in the examples directory. You can also look at some of the scripts in the applications and testing directories.

To learn about the code in more detail, especially learning how to contribute, please have a look the documentation.

Getting help and bug reports

Open an issue, if...

  • you have troubles running the code.
  • you have questions on how to implement your own routine.
  • you have found a bug.
  • you have a feature request.

If none of the above cases apply, you may also send an email to clarke(dot)davida(at)gmail(dot)com.

Contributors

D. A. Clarke, L. Altenkort, H. Dick, J. Goswami, O. Kaczmarek, L. Mazur, H. Sandmeyer, M. Sarkar, C. Schmidt, H.-T. Shu, T. Ueding

Crediting AnalysisToolbox

If you used this code in your research, your teaching, or found it generally useful, please help us out by citing

@inproceedings{Altenkort:2023xxi,
    author = "Altenkort, Luis and Clarke, David Anthony and Goswami, Jishnu and Sandmeyer, Hauke",
    title = "{Streamlined data analysis in Python}",
    eprint = "2308.06652",
    archivePrefix = "arXiv",
    primaryClass = "hep-lat",
    month = "8",
    year = "2023"
}

Acknowledgments

  • We acknowledge support by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) through the CRC-TR 211 'Strong-interaction matter under extreme conditions'– project number 315477589 – TRR 211.
  • This work was partly performed in the framework of the PUNCH4NFDI consortium supported by DFG fund "NFDI 39/1", Proj.No. 460248186 (PUNCH4NFDI).
  • DAC acknowledges helpful discussions with C. DeTar, S. Lahert, and G. P. LePage.

Download files

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

Source Distribution

latqcdtools-1.2.3.tar.gz (101.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

latqcdtools-1.2.3-py3-none-any.whl (113.6 kB view details)

Uploaded Python 3

File details

Details for the file latqcdtools-1.2.3.tar.gz.

File metadata

  • Download URL: latqcdtools-1.2.3.tar.gz
  • Upload date:
  • Size: 101.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for latqcdtools-1.2.3.tar.gz
Algorithm Hash digest
SHA256 14e55c662f4347be077c82b5ca74cd9b87d36b19e7ed761de5d2247866e9d10e
MD5 4ccfcdaad885e681ee4a590fcf576e11
BLAKE2b-256 fe374eddfbbb8b5d281322911775b670640107adf1fe5562c574f39aab05906d

See more details on using hashes here.

File details

Details for the file latqcdtools-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: latqcdtools-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 113.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for latqcdtools-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 253688615b437bee8e02c8f955756a128abce8acc0b087eb3cfef0c3ddcd13ea
MD5 b81ae4918de9909c5d4b58434db30a49
BLAKE2b-256 661f791283380159533c567072b0f7ca16517ce73c1c146ab114a397d6a3c191

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 Sentry Error logging StatusPage Status page