Commit graph

697 commits

Author SHA1 Message Date
Fabian Joswig
d602bea5b7 refactor: Classification of fit method in fits.least_squares simplified,
precision of imiunit solver adjusted, prefitting for alternative methods
removed.
2022-02-02 10:05:48 +00:00
Fabian Joswig
e92b1d9e9b
Merge pull request #52 from s-kuberski/feature/fits
Fixes least_squares with migrad, tests extended
2022-02-02 09:49:16 +00:00
Simon Kuberski
d1e18b6673 Fixes least_squares with migrad, tests extended 2022-02-02 09:05:13 +01:00
Fabian Joswig
9b63d8e2bd
Merge pull request #49 from fjosw/feature/improved_derivatives
feat!: Implemented improved first and second derivatives for the corresponding methods of the Corr class.
2022-01-31 17:30:22 +00:00
Fabian Joswig
a729def937 feat: backward derivative implemented, additional tests for deriv 2022-01-31 12:10:38 +00:00
Fabian Joswig
fb1f2074ca tests: Tests for matrix Corr methods added. docstrings updated 2022-01-31 11:21:16 +00:00
Fabian Joswig
8165479846 feat!: Implemented improved first and second derivatives for the
corresponding methods of the Corr class. The parameter which
distinguishes between the variant is now a string instead of a bool
which may break current analyses.
2022-01-31 10:50:00 +00:00
Fabian Joswig
fbb98e05f6 docs: examples for the gevp moved from correlator example to independent
file. Docstring of Corr.smearing added.
2022-01-28 15:54:08 +00:00
Fabian Joswig
c11410da5e docs: docstrings improved. 2022-01-28 15:21:38 +00:00
Fabian Joswig
1d41a664ee tests: tests for reconstruction of prange from json format added 2022-01-28 12:41:55 +00:00
Fabian Joswig
6cdb9a2042
Merge pull request #48 from JanNeuendorf/develop
Changes in the correlator init, GEVP and docstrings & tag format includes dict and prange
2022-01-28 12:37:17 +00:00
JanNeuendorf
696ab4503c linting fixed in exception 2022-01-28 13:24:04 +01:00
JanNeuendorf
55804c8c1d check if the tag is a dict 2022-01-28 13:19:24 +01:00
JanNeuendorf
0098c973af The json routines for corr now have a dictionary as a tag and the entry tag of this dictionary contains the old tag.
This should be compatible with the old way of saving.
2022-01-28 12:21:28 +01:00
JanNeuendorf
0bac8a417a argument name changed in GEVP 2022-01-28 11:31:07 +01:00
JanNeuendorf
8db648ee63 Try to keep it compatible with the tests. 2022-01-28 10:57:01 +01:00
JanNeuendorf
50b503b838 Only the changes in the correlator init, GEVP and docstrings 2022-01-28 10:46:02 +01:00
Fabian Joswig
4e7e2d14ea
Merge pull request #44 from s-kuberski/feature/rwf
fix: Bugfix for reading reweighting factors of openQCD-2.0 with nfct>1
2022-01-27 17:21:31 +00:00
Fabian Joswig
4da6c25180
Merge pull request #45 from fjosw/fix/effecive_mass_padding
Fix/effective mass padding
2022-01-27 17:19:48 +00:00
Fabian Joswig
8c53d500bf tests: additional tests for correlators with padding added 2022-01-27 17:06:49 +00:00
Fabian Joswig
90717ba85d fix: 1D-Corr objects can now be initialized with None entries. This
fixes a bug in Corr.m_eff with padding.
2022-01-27 17:01:54 +00:00
Simon Kuberski
91a2fd403e fix: Bugfix for reading reweighting factors of openQCD-2.0 with nfct>1. Completed docstring. 2022-01-27 17:19:21 +01:00
Fabian Joswig
07293bd5fe
Merge pull request #42 from fjosw/feature/corr_output_with_gaps
feat!: correlator json output can now handle gaps in the data.
2022-01-27 14:16:02 +00:00
Fabian Joswig
6c99e05e5b test: test of json output of a correlator with a gap added 2022-01-27 14:12:10 +00:00
Fabian Joswig
01c3d02394 tests: tests of json corr format extended 2022-01-27 14:07:27 +00:00
Fabian Joswig
dc35690c3e feat!: correlator json output can now handle gaps in the data. Tags of
correlators written with the previous version will have the prefix X|Y|
which contain the padding. Paddings written with previous versions will
be lost and have to be restored by the user.
2022-01-27 14:01:22 +00:00
Fabian Joswig
a3381bb5f6
Merge pull request #39 from JanNeuendorf/develop
An update to the documentation for the correlator class.
2022-01-27 12:00:01 +00:00
JanNeuendorf
b1af4ae6e6 An update to the documentation for the correlator class. 2022-01-27 12:53:23 +01:00
Fabian Joswig
26fd3fcb59 fix: Output of Exception in input.hadrons corrected 2022-01-27 11:00:51 +00:00
Fabian Joswig
d0072f5c7b feat: input.hadrons now check if all configurations specified in idl are
really found and throws an error if not.
2022-01-27 10:54:09 +00:00
Fabian Joswig
f2a7d22a7d fix: parsing off momenta in input.hadrons fixed 2022-01-25 10:59:06 +00:00
Fabian Joswig
535786a6d4 fix: hadrons npr input routines can now handle floating point valued
momenta
2022-01-25 10:49:59 +00:00
Fabian Joswig
2a925ba0b8 refactor!: const_par keyword for constrained fits removed from functions
in fit module.
2022-01-24 17:43:23 +00:00
Fabian Joswig
1c088bb1b4 feat: stdout of fit routines improved 2022-01-24 13:24:07 +00:00
Fabian Joswig
05d36dc70b docs: documentation for matrix operations extended, docstrings in
input.misc fixed
2022-01-21 14:53:55 +00:00
Fabian Joswig
9aab654256 fix: output of skew and kurtosis in title of plot_history moved to new line for
readability.
2022-01-21 14:07:34 +00:00
Fabian Joswig
de6ea7902b fix: plot_tauint and plot_rho now generate separate figures for
different ensembles again, saving the figures now also works for
multiple ensembles.
2022-01-21 14:04:35 +00:00
Fabian Joswig
b0e98de083 fix: handling for exceptional cases in sfcf_read improved 2022-01-21 13:39:56 +00:00
Fabian Joswig
75111b07ff feat: sfcf_read output to stdout improved 2022-01-21 13:33:58 +00:00
Fabian Joswig
b1221cb76d fix: sfcf_read now correctly throws an exception when append mode files
were not found.
2022-01-21 13:28:12 +00:00
Fabian Joswig
1668b1e7b3 docs: input.sfcf.read_sfcf docstring extended 2022-01-21 13:09:53 +00:00
Fabian Joswig
1edd4ef91a build: version number on develop branch changed to 2.0.0+dev 2022-01-20 14:24:44 +00:00
Fabian Joswig
0ed161f467 tests: conftest.py added 2022-01-20 13:56:56 +00:00
Fabian Joswig
50d6b0d9f5 tests: Warnings in tests fixed, conftest.py and pytest.ini removed 2022-01-20 13:49:34 +00:00
Fabian Joswig
59137785ed feat: _asser_equal_properties improved by removing one for loop 2022-01-19 13:18:44 +00:00
Fabian Joswig
c3ba07280b feat: When initializing 1d correlators it is now checked whether all obs
are defined on the same ensembles.
2022-01-19 11:03:45 +00:00
Fabian Joswig
78ff4bb117 refactor: moved _assert_equal_properties from input.json to misc 2022-01-19 10:55:51 +00:00
Fabian Joswig
c8ec5909f1 fix: io tests for corr now properly clean up 2022-01-19 10:46:33 +00:00
Fabian Joswig
9b52a9a615 feat!: dump methods now export to the json.gz format by default. Pickle
format can be chosen via parameter.
2022-01-19 10:43:18 +00:00
Fabian Joswig
59eb1ee546 fix: skew and kurtosis now correctly calculated for non regular data in
Obs.plot_history
2022-01-18 18:08:55 +00:00