mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
refactor: redundant tree parameter removed from
input/hadrons/read_meson_hd5
This commit is contained in:
parent
773fd8e4c5
commit
5d0d56596f
1 changed files with 1 additions and 4 deletions
|
@ -58,16 +58,13 @@ def read_meson_hd5(path, filestem, ens_id, meson='meson_0', tree='meson', idl=No
|
||||||
meson : str
|
meson : str
|
||||||
label of the meson to be extracted, standard value meson_0 which
|
label of the meson to be extracted, standard value meson_0 which
|
||||||
corresponds to the pseudoscalar pseudoscalar two-point function.
|
corresponds to the pseudoscalar pseudoscalar two-point function.
|
||||||
tree : str
|
|
||||||
Label of the upmost directory in the hdf5 file, default 'meson'
|
|
||||||
for outputs of the Meson module. Can be altered to read input
|
|
||||||
from other modules with similar structures.
|
|
||||||
idl : range
|
idl : range
|
||||||
If specified only configurations in the given range are read in.
|
If specified only configurations in the given range are read in.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
files, idx = _get_files(path, filestem, idl)
|
files, idx = _get_files(path, filestem, idl)
|
||||||
|
|
||||||
|
tree = meson.rsplit('_')[0]
|
||||||
corr_data = []
|
corr_data = []
|
||||||
infos = []
|
infos = []
|
||||||
for hd5_file in files:
|
for hd5_file in files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue