Commit graph

107 commits

Author SHA1 Message Date
Fabian Joswig
3523bfa568 refactor: isinstance comparisons in correlators module simplified 2022-02-10 11:12:31 +00:00
Fabian Joswig
ca04097272 feat: thin method added to Corr class which allows to thin out a
correlator in order suppress correlations between neighbouring entries
2022-02-09 15:32:18 +00:00
Fabian Joswig
0a1a9ce1a1 docs: docstrings and comments cleaned up 2022-02-09 11:33:16 +00:00
Fabian Joswig
091f19def1 fix: Bug in Corr.Hankel fixed 2022-02-08 14:31:38 +00:00
Fabian Joswig
1196935e4e refactor!: Renamed methods smearing into index and smearing_symmetric
into matrix_symmetric
2022-02-08 14:06:04 +00:00
Fabian Joswig
07ca32f166 refactor!: Removed Corr.sum method 2022-02-04 12:56:51 +00: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
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
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
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
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
a63e9958c4 refactor: Exception corrected in Corr.GEVP, private methods renamed,
docstrings extended
2022-01-18 16:50:07 +00:00
JanNeuendorf
677f1655a9 tests again 2022-01-18 17:06:39 +01:00
JanNeuendorf
2342c51869 linter things 2022-01-18 16:53:00 +01:00
JanNeuendorf
05f5720876 Merge branch 'develop' of https://github.com/JanNeuendorf/pyerrors into develop 2022-01-18 16:48:11 +01:00
JanNeuendorf
909ef85ff8 linting tested again 2022-01-18 16:46:14 +01:00
JanNeuendorf
5244e34d9e
Merge branch 'develop' into develop 2022-01-18 16:21:59 +01:00
JanNeuendorf
2f11d0d30b The changes i tried to push before 2022-01-18 16:16:54 +01:00
Fabian Joswig
c17ebc4cb3 docs: docstring added to Corr.__init__, comments cleaned up 2022-01-18 15:04:11 +00:00
Fabian Joswig
d778a3b238 feat!: merged the parameters padding_front and padding_back of Corr into
one parameter padding
2022-01-18 14:50:18 +00:00
JanNeuendorf
39f176585e
Merge branch 'fjosw:develop' into develop 2022-01-18 13:21:01 +01:00
Fabian Joswig
88572c06a8 fix: DeprecationWarning in Corr.reweighted fixed 2022-01-07 12:08:27 +01:00
Fabian Joswig
f9584e2372 fix: end of x_range in Corr.show shortened by 1 2022-01-06 17:44:41 +01:00
JanNeuendorf
145a211bd0
Some more changes to corr
- GEVP method can return lists of eigenvector by solving the GEVP at multiple timeslices. The ordering is done according to arXiv:2004.10472 [hep-lat] 
- The projection method can deal with those lists 
- Constructor for Hankel matrix from a single corr 
- typechecks allow for complex-content 
- .real and .imag work on corrs
- But everything else with CObs does not yet work.
2021-12-23 15:23:59 +01:00
Fabian Joswig
8d8fa82bbe feat: Path can now be specified in Corr.dump 2021-12-23 14:42:57 +01:00
Fabian Joswig
bc220fceaf fix: get_item and reweighted now work with padded correlators. 2021-12-20 11:35:04 +01:00
Fabian Joswig
3fd63f8b67 refactor: bare excepts removed. 2021-12-13 14:47:57 +00:00
Fabian Joswig
083247389b fix: bug occurring when Corr.fit is called without fit range fixed 2021-12-08 22:33:08 +00:00
Fabian Joswig
bb6d380f9f refactor: load and dump object moved to misc 2021-11-24 17:26:02 +00:00
Fabian Joswig
b937ef04bb docs: typos in docstrings corrected 2021-11-15 11:13:12 +00:00
Fabian Joswig
b90caa4cdc further docstrings updated 2021-11-12 14:25:51 +00:00
Fabian Joswig
10a6780c8d Merge branch 'develop' of github.com:fjosw/pyerrors into develop 2021-11-08 10:05:55 +00:00
Fabian Joswig
aff0ca7339 Corr Anti-symmetric raised to three sigma 2021-11-08 10:05:33 +00:00
Fabian Joswig
effccb1cc8 docstrings updated 2021-11-07 21:44:22 +00:00
Fabian Joswig
9805ee2b4b pyerrors.py renamed to obs.py, h5py added as dependency 2021-11-07 11:24:56 +00:00
Fabian Joswig
2fdc17ecd3 Corr.__str__ extended 2021-11-04 17:02:51 +00:00
Fabian Joswig
61cd8d9415 docstring for Corr.show extended, bug for display of fit result fixed 2021-11-03 14:28:15 +00:00
Fabian Joswig
7e909affcc Additional check added to Corr.correlate 2021-11-03 14:06:05 +00:00
Fabian Joswig
ac21569620 Corr.correlate implemented 2021-11-03 14:01:52 +00:00
Fabian Joswig
b23fe67994 rtruediv for Corr and Obs implemented 2021-11-03 11:53:26 +00:00
Fabian Joswig
67fc15e001 Corr.__get_item__ now returns an Obs in case there is only one entry per
timeslice
2021-11-03 10:15:44 +00:00
Fabian Joswig
b07f16fe1c docstring and test added for Corr.reweight 2021-11-02 14:19:00 +00:00
Fabian Joswig
3e60403a51 reweighted property added to Corr 2021-11-02 14:12:39 +00:00
Fabian Joswig
fda2427646 Additional docstrings added to correlator 2021-11-02 13:46:15 +00:00