mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
9cf2f80d22
8 changed files with 30 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
[](https://github.com/fjosw/pyerrors/actions/workflows/flake8.yml) [](https://github.com/fjosw/pyerrors/actions/workflows/pytest.yml) [](https://github.com/fjosw/pyerrors/actions/workflows/examples.yml) [](https://github.com/fjosw/pyerrors/actions/workflows/docs.yml) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT)
|
||||
[](https://github.com/fjosw/pyerrors/actions/workflows/flake8.yml) [](https://github.com/fjosw/pyerrors/actions/workflows/pytest.yml) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://mybinder.org/v2/gh/fjosw/pyerrors/HEAD?labpath=examples)
|
||||
# pyerrors
|
||||
`pyerrors` is a python package for error computation and propagation of Markov chain Monte Carlo data.
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"import matplotlib\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import pyerrors as pe"
|
||||
]
|
||||
|
@ -32,7 +33,8 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"plt.rc('text', usetex=True)"
|
||||
"usetex = matplotlib.checkdep_usetex(True)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"import matplotlib\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import pyerrors as pe"
|
||||
]
|
||||
|
@ -20,7 +21,8 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"plt.rc('text', usetex=True)"
|
||||
"usetex = matplotlib.checkdep_usetex(True)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -480,7 +482,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
@ -494,7 +496,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.8"
|
||||
"version": "3.8.10"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"import matplotlib\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import pyerrors as pe"
|
||||
]
|
||||
|
@ -18,7 +19,8 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"plt.rc('text', usetex=True)"
|
||||
"usetex = matplotlib.checkdep_usetex(True)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import pyerrors as pe\n",
|
||||
"import numpy as np\n",
|
||||
"import matplotlib.pyplot as plt"
|
||||
"import matplotlib\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import pyerrors as pe"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -18,7 +19,8 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"plt.rc('text', usetex=True)"
|
||||
"usetex = matplotlib.checkdep_usetex(True)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -439,7 +441,7 @@
|
|||
"hash": "916dbcbb3f70747c44a77c7bcd40155683ae19c65e1c03b4aa3499c5328201f1"
|
||||
},
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3.8.10 64-bit",
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
|
@ -393,7 +393,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
@ -407,7 +407,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.8"
|
||||
"version": "3.8.10"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import matplotlib\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import pyerrors as pe"
|
||||
]
|
||||
|
@ -18,7 +19,9 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle'); plt.rc('text', usetex=True)"
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"usetex = matplotlib.checkdep_usetex(True)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -305,7 +308,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3",
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
|
|
@ -8,6 +8,8 @@ It is based on the gamma method [arXiv:hep-lat/0306017](https://arxiv.org/abs/he
|
|||
- non-linear fits with x- and y-errors and exact linear error propagation based on automatic differentiation as introduced in [arXiv:1809.01289](https://arxiv.org/abs/1809.01289).
|
||||
- real and complex matrix operations and their error propagation based on automatic differentiation (Matrix inverse, Cholesky decomposition, calculation of eigenvalues and eigenvectors, singular value decomposition...).
|
||||
|
||||
More detailed examples can found in the [GitHub repository](https://github.com/fjosw/pyerrors/tree/develop/examples) [](https://mybinder.org/v2/gh/fjosw/pyerrors/HEAD?labpath=examples).
|
||||
|
||||
There exist similar publicly available implementations of gamma method error analysis suites in [Fortran](https://gitlab.ift.uam-csic.es/alberto/aderrors), [Julia](https://gitlab.ift.uam-csic.es/alberto/aderrors.jl) and [Python](https://github.com/mbruno46/pyobs).
|
||||
|
||||
## Basic example
|
||||
|
@ -443,8 +445,10 @@ Julia I/O routines for the json.gz format, compatible with [ADerrors.jl](https:/
|
|||
# Citing
|
||||
If you use `pyerrors` for research that leads to a publication please consider citing:
|
||||
- Ulli Wolff, *Monte Carlo errors with less errors*. Comput.Phys.Commun. 156 (2004) 143-153, Comput.Phys.Commun. 176 (2007) 383 (erratum).
|
||||
- Stefan Schaefer, Rainer Sommer, Francesco Virotta, *Critical slowing down and error analysis in lattice QCD simulations*. Nucl.Phys.B 845 (2011) 93-119.
|
||||
- Alberto Ramos, *Automatic differentiation for error analysis of Monte Carlo data*. Comput.Phys.Commun. 238 (2019) 19-35.
|
||||
and
|
||||
- Stefan Schaefer, Rainer Sommer, Francesco Virotta, *Critical slowing down and error analysis in lattice QCD simulations*. Nucl.Phys.B 845 (2011) 93-119.
|
||||
where applicable.
|
||||
'''
|
||||
from .obs import *
|
||||
from .correlators import *
|
||||
|
|
Loading…
Add table
Reference in a new issue