Error propagation and statistical analysis for Markov chain Monte Carlo simulations in lattice QCD and statistical mechanics using autograd
Find a file
Fabian Joswig 839d9214ed
Improved prior fit (#161)
* refactor: merged combined fit and prior fit without breaking the
routine. Fitting with priors does not work yet.

* refactor: correlated fits without priors work now.

* refactor: prior error propagation and dof fixed.

* refactor: old prior fit implementation moved to tests.

* refactor: moved _extract_val_and_dval out of least_squares.

* refactor: comment removed.

* tests: additional tests and exceptions added.

* tests: test for constrained prior fit added.

* docs: least_squares docstring extended.

* fix: linting errors fixed.

* feat: additional if cause for fits without priors added to achieve
original speed.

* tests: test_constrained_and_prior_fit fixed.

* fix: fix array cast of least_squares dict mode.

* tests: test for lists in dict fit added.

* fix: additional asarray added in resplot.

Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-03-07 16:15:16 +00:00
.github ci: flake8 workflow made more strict again (and CONTRIBUTING.md updated.) 2023-02-26 19:08:47 +00:00
examples Merge pull request #134 from PiaLJP/develop 2023-02-02 15:09:11 +00:00
pyerrors Improved prior fit (#161) 2023-03-07 16:15:16 +00:00
tests Improved prior fit (#161) 2023-03-07 16:15:16 +00:00
.gitignore build: extract version number in setup.py from version.py 2022-06-14 12:02:43 +01:00
CHANGELOG.md docs: CHANGELOG updated. 2023-02-07 13:07:48 +00:00
CITATION.cff docs: CHANGELOG and CITATION file updated. 2022-10-13 12:08:54 +01:00
conftest.py tests: conftest.py added 2022-01-20 13:56:56 +00:00
CONTRIBUTING.md ci: flake8 workflow made more strict again (and CONTRIBUTING.md updated.) 2023-02-26 19:08:47 +00:00
LICENSE Initial public release 2020-10-13 16:53:00 +02:00
pyproject.toml build: pyproject.toml added. 2022-08-01 16:43:19 +01:00
README.md docs: pypi link added to README 2022-11-16 10:38:18 +00:00
setup.py build: minimal numpy version bumped to 1.21 as 1.20 runs out of support 2023-01-23 16:23:09 +00:00

flake8 pytest License: MIT arXiv

pyerrors

pyerrors is a python package for error computation and propagation of Markov chain Monte Carlo data.

Installation

To install the most recent release (via pypi) run

pip install pyerrors     # Fresh install
pip install -U pyerrors  # Upgrade

to install the current develop version run

pip install git+https://github.com/fjosw/pyerrors.git@develop