pyerrors
pyerrors copied to clipboard
Error propagation and statistical analysis for Markov chain Monte Carlo simulations in lattice QCD and statistical mechanics using autograd
pyerrors raises multiple errors in combination with the numpy 2 release candidate - I fixed the relevant breaking changes in autograd in the following PR https://github.com/HIPS/autograd/pull/618 - matplotlib raises `ImportError:...
Added kwargs `corr_matrix `and ` inv_chol_cov_marix` to the `least_squares` function. Note: For the kwargs to work `correlated_fit=True` needs to be set too. (1) kwarg `corr_matrix ` Now it is possible...
Hi, so, I was using the Corr class the other day and I found that there is a small issue, when picking ranges of timeslices from a correlator using slicing....
As a first step towards adding type hints, I added automatic type hints with monkeytype. Hints for the more complicated methods will need additional manual work but for the simpler...
In this PR I remove all mutables from default arguments (see for example [this article](https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil)). I also corrected smaller stilistic issues and added missing docstrings.
I sometimes want to do Gaussian error propagation and find the syntax for creating a scalar cov_Obs a bit inconvenient. For this reason I propose a `Meas` class that simplifies...
Hi, this is the second part to #275. With this PR, I'm introducing more sophisticated checking of the structure of append-mode files. In particular, the length of the header for...
Hey, I was looking through #251 again and noticed that Mypy tells me `pyerrors.input.dobs._import_array()` does not seem to have an output, which it should have, given the rest of the...
Our [test](https://github.com/fjosw/pyerrors/actions/runs/15989848298) for applying `sinc` to an `Obs` is failing with numpy 2.3. I tracked this down to [this line](https://github.com/numpy/numpy/blame/c96fcc8f7a5030098f8e0c304ce20864c3509021/numpy/lib/_function_base_impl.py#L3857) which was changed to deal with underflows but does not...