mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02:00
Add docstring to read_ms5_xsf method
This commit is contained in:
parent
0f440d1d6e
commit
f74793b765
1 changed files with 3 additions and 2 deletions
|
@ -1039,7 +1039,7 @@ def read_ms5_xsf(path, prefix, qc, corr):
|
||||||
break
|
break
|
||||||
asascii=struct.unpack(packstr, cnfgt)
|
asascii=struct.unpack(packstr, cnfgt)
|
||||||
cnfg = asascii[0]
|
cnfg = asascii[0]
|
||||||
print(cnfg)
|
#print(cnfg)
|
||||||
|
|
||||||
if not corr in placesBB:
|
if not corr in placesBB:
|
||||||
tmpcorr = asascii[1+2*tmax*placesBI.index(corr):1+2*tmax*placesBI.index(corr)+2*tmax]
|
tmpcorr = asascii[1+2*tmax*placesBI.index(corr):1+2*tmax*placesBI.index(corr)+2*tmax]
|
||||||
|
@ -1052,5 +1052,6 @@ def read_ms5_xsf(path, prefix, qc, corr):
|
||||||
for i in range(len(tmpcorr)):
|
for i in range(len(tmpcorr)):
|
||||||
corrres[i%2].append(tmpcorr[i])
|
corrres[i%2].append(tmpcorr[i])
|
||||||
|
|
||||||
print(corrres)
|
#print(corrres)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue