Commit graph

1244 commits

Author SHA1 Message Date
Justus Kuhlmann
0bc08be634
Impr/refactor find files (#153)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable

* added method to sort names of files and replica better
2023-02-17 11:51:00 +00:00
Fabian Joswig
ee74ec4ed7
feat: removed computation of drho from standard windowing procedure. (#152) 2023-02-13 16:54:28 +00:00
Justus Kuhlmann
cef3c3e793
Impr/refactor find files (#151)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable
2023-02-08 14:52:29 +00:00
Fabian Joswig
bd66075f91
build: version number bumped to 2.7.0+dev. 2023-02-07 13:14:29 +00:00
Fabian Joswig
b6ebb64469
build: version number bumped to 2.6.0 2023-02-07 13:08:29 +00:00
Fabian Joswig
df46e7e5c8
docs: CHANGELOG updated. 2023-02-07 13:07:48 +00:00
Fabian Joswig
2027f0003a
Merge pull request #149 from jkuhl-uni/feat/read_ms5_xsf
fix for the case that there are multiple dots in file names
2023-02-07 13:00:40 +00:00
jkuhl-uni
ea1c89cad1 fix for the case that there are multiple dotsin file names 2023-02-07 13:52:33 +01:00
Fabian Joswig
3ca79581f3
Merge pull request #148 from PiaLJP/feature/correlated_combined_fit
Feature/correlated combined fit
2023-02-03 17:05:36 +00:00
ppetrak
b0b5d88dc3 Merge branch 'develop' of https://github.com/PiaLJP/piapyerrors into develop 2023-02-03 15:04:06 +01:00
ppetrak
ba54545b4e feat/tests: Correlated fits now also work for combined fits. 2023-02-03 14:54:54 +01:00
Fabian Joswig
ae68e5baad
test: small bug in non overlapping test fixed. 2023-02-02 16:06:35 +00:00
Fabian Joswig
925f212e61
test: test for non overlapping configs fixed. 2023-02-02 15:22:35 +00:00
Fabian Joswig
2e66f0323a
Merge pull request #147 from fjosw/fix/non_overlapping_cnfgs
Fix non overlapping configurations
2023-02-02 15:15:04 +00:00
Fabian Joswig
3236ba54e7
Merge pull request #134 from PiaLJP/develop
sample implementation of a (uncorrelated) combined fit
2023-02-02 15:09:11 +00:00
Fabian Joswig
37c59a198e
test: test for values added to non overlapping tests. 2023-02-02 15:08:22 +00:00
Fabian Joswig
088f4d1239
feat: additional check for invalid input to least_squares added.
Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-02-02 14:58:35 +00:00
Fabian Joswig
37b3498258
fix: unused variable removed in dobs.py 2023-02-02 14:38:43 +00:00
Simon Kuberski
dc5116aa2f dobs: Zeros are written if config is not part of the Obs, these are ignored on input 2023-02-02 15:31:46 +01:00
Fabian Joswig
e34d49d88d
test: additional test for non overlapping configurations added. 2023-02-02 14:19:16 +00:00
Fabian Joswig
79d185aa7d
test: non_overlapping tests refined. 2023-02-02 13:57:58 +00:00
Fabian Joswig
f6df9d02f5
test: added additional tests for non-overlapping configurations. 2023-02-02 13:49:40 +00:00
Fabian Joswig
b3d030abf3
fix: fixed test_correlation_intersection_of_idls 2023-02-02 13:42:15 +00:00
Fabian Joswig
2e490e56f4
fix: fixed test intersection reduce. 2023-02-02 13:35:08 +00:00
Fabian Joswig
cb31e681b8
fix: rescaled incomplete measurements. 2023-01-31 17:44:49 +00:00
ppetrak
59d22fceee fix: reduced the migrad solver tolerance + removed unnecessary check 2023-01-30 15:16:41 +01:00
ppetrak
80371a0898 fix/tests: Combined fit now also works when the keys of the x,y & func input dictionaries are not in the same order, build: improvements in performance 2023-01-30 14:26:47 +01:00
Fabian Joswig
8cc9c835f7
docs: remove deprecated call to checkdep_usetex. 2023-01-26 17:16:17 +00:00
Fabian Joswig
fe54b1aa13
docs: hyperlink fixed in docs. 2023-01-24 13:09:33 +00:00
Fabian Joswig
615795dc5b
docs: gm alias added to basic example, hyperlink fixed in documentation. 2023-01-24 13:06:14 +00:00
Fabian Joswig
49109dac58
docs: Explanation about ensemble names also made more explicit in
examples.
2023-01-24 13:01:58 +00:00
Fabian Joswig
07de2e767f
docs: Explanation about ensemble names made more explicit in
documentation.
2023-01-24 12:59:15 +00:00
Fabian Joswig
5adc3e0c76
test: sin2 cos2 test for error propagation added. 2023-01-24 10:10:52 +00:00
Fabian Joswig
9d602e4e51
build: minimal numpy version bumped to 1.21 as 1.20 runs out of support
next week.
2023-01-23 16:23:09 +00:00
Fabian Joswig
033d8e9ac4
ci: python 3.11 added to pytest workflow, minimal version of h5py bumped
to 3.8
2023-01-23 10:42:26 +00:00
Fabian Joswig
7682e29146
test: tests refactored. 2023-01-20 11:54:43 +00:00
Fabian Joswig
9ba09e6b8f
tests: gamma_method added to fuzzy test. 2023-01-20 11:49:44 +00:00
Fabian Joswig
f33db8280e
fix: unnecessary import removed. 2023-01-20 11:46:16 +00:00
Fabian Joswig
7bb164120b
tests: fuzzy test for Obs added, test dependencies and documentation
updated.
2023-01-20 11:44:31 +00:00
Fabian Joswig
ef23dd256f
Merge pull request #146 from fjosw/feat/errorbar_wrapper
Wrapper for errorbar matplotlib method
2023-01-18 17:53:23 +00:00
Fabian Joswig
4e71da0b59 feat: read_DistillationContraction_hd5 can now deal with missing files. 2023-01-18 17:51:34 +00:00
Fabian Joswig
c475ca53a5
feat: misc.errorbar can now also process non Obs data and xerr, yerr can
be passed to overwrite the Obs's errors.

Co-authored-by: Simon Kuberski <simon.kuberski@uni-muenster.de>
2023-01-18 17:02:08 +00:00
Fabian Joswig
c03e4669a0
tests: additional tests for generalization of misc.errorbar added. 2023-01-18 17:01:37 +00:00
Fabian Joswig
6ed357b51d
feat: Added wrapper for errorbar matplotlib method for more convenient
plotting.
2023-01-18 15:03:08 +00:00
Fabian Joswig
88fd37b241
fix: Corr.symmetric can now deal with None entries. (#145) 2023-01-16 16:10:19 +00:00
Justus Kuhlmann
26447d658c
better docstrings (#144)
* first example of returns statement in docstring

* added a some return statements for pandas API

* last return statements in pandas input

* added returns to bdio docstrings

* few returns statements added to docstring

* finished docstrings for hadrons submodule

* also finished docstrings for json submodule

* finished misc submodule

* added returns in docstrings in openqQCD

* made some cosmetic chanes to dostrings

* added return nad return statement in docstring

* linting

* Improved docstrings of mpm, fits, roots, misc to have return statements

returns added for misc.py

returns added for mpm.py

reutrns added for fits.py

* linting...

* Some polishing of docstrings
2023-01-16 14:57:22 +00:00
Fabian Joswig
b9cdebd442
feat: gm alias for gamma_method also added to other classes. 2023-01-13 17:26:52 +00:00
Fabian Joswig
67568a21c2
ci: CODEOWNERS file added. 2023-01-11 15:19:21 +00:00
Fabian Joswig
569bf8c2f1
Merge pull request #142 from fjosw/feat/root_of_multi_parameter_functions
Root of multi parameter functions
2023-01-10 10:34:36 +00:00
Fabian Joswig
a45e20b51c
feat: multi parameter root feature added. 2023-01-10 10:28:12 +00:00