Commit graph

66 commits

Author SHA1 Message Date
Fabian Joswig
5d0d56596f refactor: redundant tree parameter removed from
input/hadrons/read_meson_hd5
2022-01-05 20:08:08 +01:00
Fabian Joswig
c8cb0e4cb8 feat: epsilon tensors moved to dirac submodule, tests added 2021-12-23 12:00:10 +01:00
Fabian Joswig
b50346dcf3 feat: rank4 epsilon tensor added 2021-12-21 20:42:56 +01:00
Simon Kuberski
5338982060 Allow Obs in json format to be pure Covobs, i.e., to have empty deltas 2021-12-14 16:27:05 +01:00
Simon Kuberski
76b483d730 Pretty output for cov and grad in json 2021-12-14 15:54:52 +01:00
Simon Kuberski
b7bc508dcf Added covobs to json file format 2021-12-14 15:47:14 +01:00
Fabian Joswig
3fd63f8b67 refactor: bare excepts removed. 2021-12-13 14:47:57 +00:00
Fabian Joswig
f6dc78f587 feat!: json format timezone is now outputted in +0000 format. 2021-12-10 10:40:49 +00:00
Fabian Joswig
2ce73fb3f2 fix: import_json_string now correctly reconstructs obs from string, test
added
2021-12-10 10:37:50 +00:00
Fabian Joswig
b49c707127 refactor: created function import_json_string 2021-12-09 15:49:01 +00:00
Fabian Joswig
d837e47777 refactor: formatting improvements 2021-12-02 11:32:28 +00:00
Fabian Joswig
a67e83f77b feat: Minor improvemens to json file format 2021-12-02 11:14:05 +00:00
Fabian Joswig
b715aa0c22 feat: hadrons npr input now returns rank-n tensors instead of 2D matrices 2021-12-01 14:28:21 +00:00
Simon Kuberski
e5cd5c4a99 Adjusted handling of tags: All are written, if any is None; Removed unused parameter fname from create_json_string; Created a fail-save version for the replacement of quotation marks in workaround for delta lists 2021-12-01 11:53:11 +01:00
Fabian Joswig
bb91c37ac4 fix: unnecessary print statement and comment removed in fourquark input
routine
2021-11-30 17:12:14 +00:00
Fabian Joswig
aec90803ef feat: functions which extracts npr fourquark vertices now constructs
Lorentz scalars.
2021-11-30 17:05:00 +00:00
Fabian Joswig
58ccd11e48 feat: json submodule now available via pyerrors.input.json 2021-11-30 16:50:35 +00:00
Fabian Joswig
558022e7a2
Merge pull request #11 from s-kuberski/feature/json_io
First implemenation of a json I/O
2021-11-30 16:49:11 +00:00
Simon Kuberski
71e9d6c29c Removed unnecessary cast 2021-11-30 17:46:33 +01:00
Simon Kuberski
d740f8d3c4 utf-8 for plain json files and a bugfix for reading arrays 2021-11-30 16:26:46 +01:00
Simon Kuberski
5937a519d7 Added dictionary output of json input routine: It is possible to import and export any structure that is JSON serializable as description (or Obs.tag) 2021-11-30 14:50:16 +01:00
Simon Kuberski
d7c2f125fe Created routine to get jsonstring itself, allowed for the I/O of uncompressed files, fixed bug for 1d-Arrays 2021-11-30 14:28:07 +01:00
Fabian Joswig
4ecbe2f8f2 docs: docstrings in input.hadrons updated 2021-11-30 12:00:51 +00:00
Fabian Joswig
2b33d79674 feat: input routine for hadrons FourquarkFullyConnected files added 2021-11-30 11:57:45 +00:00
Simon Kuberski
63dd627e20 First implemenation of a json I/O 2021-11-29 15:27:28 +01:00
Fabian Joswig
42c4baa8ba fix: optional parameter order removed from hadrons npr input routines 2021-11-24 17:17:04 +00:00
Fabian Joswig
8234ac037b feat: hadrons input routines now accept a range of configs as optional
argument
2021-11-24 17:15:30 +00:00
Fabian Joswig
5da20365bf refactor!: npr module removed, Npr_matrix class moved to input.hadrons 2021-11-22 16:06:58 +00:00
Fabian Joswig
4df0e7bc82 feat: determination of idx in input.hadrons module optimized 2021-11-18 15:14:30 +00:00
Fabian Joswig
8c95ca8318 feat: input.hadrons._get_files optimized 2021-11-18 14:39:43 +00:00
Fabian Joswig
5bd8e8402b feat: read ExternalLeg and Bilinear routines speed up 2021-11-18 13:59:47 +00:00
Fabian Joswig
49af3a93ca fix: gamma_method call removed from read_Bilinear_hd5 2021-11-18 12:45:19 +00:00
Fabian Joswig
fc7d1ff078 hadrons input functions now construct Obs with correct idl 2021-11-10 16:26:20 +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
3466558c94 infos parsed and added as tag in hadrons.read_meson_hd5 2021-11-04 09:39:18 +00:00
Fabian Joswig
904396dbdd docstring of input.hadrons.read_mesons_hd5 extended 2021-11-03 11:39:40 +00:00
Fabian Joswig
f1529c1753 sfcf_c ens_name added 2021-11-02 14:45:34 +00:00
Fabian Joswig
2a4070e6a1 input misc adjusted to new bookkeeping system 2021-11-01 17:31:02 +00:00
Fabian Joswig
d873896f31 read bdio adjusted to new bookkeeping system 2021-11-01 17:28:46 +00:00
Fabian Joswig
f56151ccdc adjusted input routines for sfcf and openQCD 2021-11-01 17:27:48 +00:00
Fabian Joswig
caa5fdb348 Most dictionaries removed from Obs.__init__, the dicitonaries are now
only initialized when the gamma_method is executed
2021-10-26 15:43:30 +01:00
Fabian Joswig
f24451090a Bug in gamma_method fixed 2021-10-25 17:34:59 +01:00
Fabian Joswig
94e3ebe7f0 read bilinear added to input/hadrons 2021-10-22 18:29:28 +01:00
Fabian Joswig
f4abad1280 complex real matrix mutliplication speed up 2021-10-21 11:11:08 +01:00
Fabian Joswig
34ed2588aa additional check on momentum of ExternalLeg added 2021-10-20 11:56:54 +01:00
Fabian Joswig
d8c4f03a07 ExternalLeg default data structure changed 2021-10-20 11:29:36 +01:00
Fabian Joswig
69d6d5ae43 Npr_matrix class and read_ExternalLeg improved 2021-10-20 11:25:48 +01:00
Fabian Joswig
207678513c Npr_matrix class added 2021-10-19 23:53:44 +01:00