Commit graph

1308 commits

Author SHA1 Message Date
Fabian Joswig
cc9f47c686 feat: pandas DataFrame serialization and deserialization can now also
deal with gzipped json columns. Tests added.
2022-07-04 14:19:30 +01:00
Fabian Joswig
a133030114 tests: additional tests for pandas csv import and export added. 2022-07-04 13:17:57 +01:00
Fabian Joswig
e1a760a058 refactor: refactored pandas serialize and deserialize functions. 2022-07-04 12:04:19 +01:00
Fabian Joswig
b2d5263ea3 feat: hash method for Obs objects added. 2022-07-01 16:53:08 +01:00
Fabian Joswig
f908b6328d
Merge pull request #113 from fjosw/feature/pandas_df_support
Pandas DataFrame support
2022-07-01 16:46:40 +01:00
Fabian Joswig
c6ec11045c fix: redundant export of not gzipped pandas Dataframe removed. 2022-06-30 15:49:40 +01:00
Fabian Joswig
153cc795b8 feat: pandas DataFrames with Corr columns can now also be imported and
exported.
2022-06-30 15:26:31 +01:00
Fabian Joswig
c7c1725667 tests: pandas io tests extended. 2022-06-30 14:38:20 +01:00
Fabian Joswig
feab699162 tests: basic test for pandas DataFrame export and re-import added. 2022-06-30 14:27:10 +01:00
Fabian Joswig
f980229d5c build: pandas added as dependency. 2022-06-30 14:14:59 +01:00
Fabian Joswig
29820f8e61 fix: don't write index column to csv file in input.pandas.dump_df. 2022-06-30 14:12:51 +01:00
Fabian Joswig
42a6dbddd4 feat: dump and load functionality for pandas dataframes containing Obs
objects added.
2022-06-30 14:05:11 +01:00
Fabian Joswig
fff74ed69e ci: tolerance on total least squares tolerance test relaxed. 2022-06-28 14:51:12 +01:00
Fabian Joswig
763c759ae0 fix: Corr.m_eff can now returns None entries if the correlator has a
sign flip. Before that the logarithm of a negative number was computed
and a warning was thrown.
2022-06-28 14:40:49 +01:00
Fabian Joswig
92562d50e7 refactor: Unnecessary assignment to iread removed in input.bdio. 2022-06-27 13:09:33 +01:00
Fabian Joswig
690bc37440 docs: citing block moved up in documentation. 2022-06-24 16:19:28 +01:00
Fabian Joswig
86a45eb47b refactor: Unused variable in fit function detection removed. 2022-06-24 13:12:53 +01:00
Fabian Joswig
fe9696841f fix: Exception types for fit function detection specified. 2022-06-24 13:10:06 +01:00
Fabian Joswig
3e29cf9ca8 fix: detection of invalid fit functions extended. 2022-06-24 12:50:26 +01:00
Fabian Joswig
338bf8906a refactor: maintainability issues in tests fixed. 2022-06-24 12:28:49 +01:00
Fabian Joswig
07d947d5b1 docs: CHANGELOG updated. 2022-06-23 14:06:45 +01:00
Fabian Joswig
dc396e542c docs: Obs.reweight docstring now matches method arguments. 2022-06-23 14:04:42 +01:00
Fabian Joswig
0346e95f3f refactor: division in pe.reweight simplified. 2022-06-23 13:56:07 +01:00
Fabian Joswig
d922b72f3b feat: Obs.reweight method added. 2022-06-23 13:50:24 +01:00
Fabian Joswig
b047f12c12 feat: bbox_inches='tight' added to Corr.show savefig 2022-06-20 15:50:56 +01:00
Fabian Joswig
13b688c4b2 feat: title argument added to Corr.show 2022-06-20 14:39:41 +01:00
Fabian Joswig
3f1fbd1869
Merge pull request #112 from s-kuberski/feature/dobs
Feature/dobs
2022-06-19 12:50:40 +01:00
Simon Kuberski
2c0e8e9198 Removed superfluous print statement 2022-06-19 02:06:44 +02:00
Simon Kuberski
061ba6ecfa Bugfixes in dobs 2022-06-19 02:03:29 +02:00
Simon Kuberski
c9789a34e6 Resolved merge conflict in tests 2022-06-19 01:46:31 +02:00
Fabian Joswig
6ef9d99619 refactor: redundant check in input.hadrons.read_DistillationContraction
removed.
2022-06-17 16:36:01 +01:00
Fabian Joswig
a545545d73 fix: Another modification of parameter with default in input.dobs fixed. 2022-06-17 10:17:18 +01:00
Fabian Joswig
0150ef4c0b refactor: imports of scipy.stats in fits simplified. 2022-06-15 14:14:01 +01:00
Fabian Joswig
d600793d0e fix: unreachable statement in input.misc.read_pbp removed. 2022-06-15 14:07:35 +01:00
Fabian Joswig
abdeace107 fix: Modification of parameter with default in Corr.__repr__ fixed. 2022-06-15 14:05:41 +01:00
Fabian Joswig
02403fc282 fix: Modification of parameter with default in input.dobs fixed. 2022-06-15 14:04:07 +01:00
Fabian Joswig
d79aa2cf74 refactor: range in Corr.print and __repr__ renamed to print_range 2022-06-15 14:01:26 +01:00
Fabian Joswig
1f113a3b29 refactor: comparison of constants removed. 2022-06-15 13:48:34 +01:00
Fabian Joswig
16d6e5e8e0
Merge pull request #109 from JanNeuendorf/develop
Quick fix to m_eff()
2022-06-14 15:14:14 +01:00
Janneuendorf
e671d38a11 fix 2022-06-14 16:06:08 +02:00
JanNeuendorf
26c57a8d1b
Merge branch 'fjosw:develop' into develop 2022-06-14 15:51:18 +02:00
Janneuendorf
bd6c0a223b Quick fix to corr.m_eff(). Zero values no longer produce errors but are handled as nones in m_eff(). 2022-06-14 15:49:20 +02:00
Fabian Joswig
612e6c742b tests: matplotlib figures explicitly closed in tests 2022-06-14 14:46:45 +01:00
Fabian Joswig
0d02e4d4b9 build: extract version number in setup.py from version.py 2022-06-14 12:02:43 +01:00
Fabian Joswig
5c47188931 build: version number bumped to 2.2.0+dev 2022-06-13 14:04:25 +01:00
Fabian Joswig
2ed815ddcc build: version number bumped to 2.1.3, CHANGELOG updated. 2022-06-13 13:36:14 +01:00
Fabian Joswig
090d2b1e1d
Merge pull request #107 from fjosw/fix/none_array_entries
Fix/none array entries
2022-06-13 13:31:18 +01:00
Fabian Joswig
d736c001dc fix: further checks for multi-dimensional correaltors and None entries
added to methods of Corr class.
2022-06-13 13:18:37 +01:00
Fabian Joswig
a323d60b79 fix: Exception added when symmetric or anti_symmetric are called on
multi-dimensional correlator.
2022-06-13 13:08:05 +01:00
Fabian Joswig
ed50240d29 fix: check for correlator None entries refactored and added to all
elementary operations. Tests added.
2022-06-13 12:59:54 +01:00