mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
ExternalLeg default data structure changed
This commit is contained in:
parent
69d6d5ae43
commit
d8c4f03a07
1 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ def read_meson_hd5(path, filestem, ens_id, meson='meson_0', tree='meson'):
|
||||||
return Corr(l_obs)
|
return Corr(l_obs)
|
||||||
|
|
||||||
|
|
||||||
def read_ExternalLeg_hd5(path, filestem, ens_id, order='C'):
|
def read_ExternalLeg_hd5(path, filestem, ens_id, order='F'):
|
||||||
"""Read hadrons ExternalLeg hdf5 file and output an array of CObs
|
"""Read hadrons ExternalLeg hdf5 file and output an array of CObs
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
|
@ -79,8 +79,8 @@ def read_ExternalLeg_hd5(path, filestem, ens_id, order='C'):
|
||||||
filestem -- namestem of the files to read
|
filestem -- namestem of the files to read
|
||||||
ens_id -- name of the ensemble, required for internal bookkeeping
|
ens_id -- name of the ensemble, required for internal bookkeeping
|
||||||
order -- order in which the array is to be reshaped,
|
order -- order in which the array is to be reshaped,
|
||||||
'C' for the last index changing fastest,
|
'F' for the first index changing fastest (9 4x4 matrices) default.
|
||||||
'F' for the first index changing fastest.
|
'C' for the last index changing fastest (16 3x3 matrices),
|
||||||
"""
|
"""
|
||||||
|
|
||||||
files = _get_files(path, filestem)
|
files = _get_files(path, filestem)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue