Commit graph

28 commits

Author SHA1 Message Date
Fabian Joswig
d45b43e6de [Fix] Fixed remaining flake8 errors 2025-01-03 19:07:48 +01:00
Fabian Joswig
3654635cd7 [Fix] Removed unused imports 2025-01-03 19:03:00 +01:00
Fabian Joswig
23d4f4c320 [Fix] Fix type hints in misc.py and remove strict zips for python 3.9
compatability
2025-01-03 18:39:34 +01:00
Fabian Joswig
2d34b355ed [Fix] Fix ruff errors and a few type annotations 2024-12-25 11:44:24 +01:00
Fabian Joswig
3db8eb2989 [Feat] Add type hints to pyerrors modules 2024-12-25 11:09:58 +01:00
Fabian Joswig
5122e260ea
Special function module (#221)
* [fix] Fixed intendation for flake8

* [feat] special module with Bessel functions added.

* [feat] init adapted.

* [tests] First test for special module added.

* [tests] Check kn special function derivative explicitly vs numerical
derivative of scipy function.

* [feat] Added remaining autograd scipy special functions to the special
module.

* [feat] Imports corrected, docstring added.
2024-01-07 17:22:05 +01:00
Fabian Joswig
bafa6ce38d
feat: system added to print_config. 2023-03-11 21:31:21 +00:00
Fabian Joswig
0044f90315
feat: print_config moved to misc. 2023-03-11 21:22:03 +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
6ed357b51d
feat: Added wrapper for errorbar matplotlib method for more convenient
plotting.
2023-01-18 15:03:08 +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
a53fb18821
feat: removed attribute is_merged. 2023-01-06 13:34:26 +01:00
Fabian Joswig
313dec7cee
refactor: _assert_equal_properties simplified. 2022-12-20 17:18:25 +01:00
Fabian Joswig
8f2312240f refactor: pseudo_Obs moved to misc 2022-02-09 11:38:00 +00:00
Fabian Joswig
c11410da5e docs: docstrings improved. 2022-01-28 15:21:38 +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
f808c2243e docs: gen_correlated_data docstring improved 2021-11-24 17:29:51 +00:00
Fabian Joswig
bb6d380f9f refactor: load and dump object moved to misc 2021-11-24 17:26:02 +00:00
Fabian Joswig
f1394bbde6 jackknifing module removed 2021-11-09 10:27:50 +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
6c962adade ks_test moved to fits module 2021-10-21 11:58:21 +01:00
Fabian Joswig
4edea2c3a8 attribute e_Q removed 2021-10-18 10:08:48 +01:00
Fabian Joswig
cddf6ddf6b further instances of np.float removed 2021-10-12 14:12:21 +01:00
Fabian Joswig
57c6a07801 flake8 style changes 2021-10-11 12:22:58 +01:00
fjosw
d9b2077d2c Initial public release 2020-10-13 16:53:00 +02:00