mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
small bug fix
This commit is contained in:
parent
11ffd4571d
commit
785c590397
1 changed files with 1 additions and 1 deletions
|
@ -1073,7 +1073,7 @@ def read_ms5_xsf(path, prefix, qc, corr):
|
|||
if not corr in placesBB:
|
||||
tmpcorr = asascii[1+2*tmax*placesBI.index(corr):1+2*tmax*placesBI.index(corr)+2*tmax]
|
||||
else:
|
||||
tmpcorr = asascii[1+2*tmax*len(placesBI)+2*placesBI.index(corr):1+2*tmax*len(placesBI)+2*placesBI.index(corr)+2]
|
||||
tmpcorr = asascii[1+2*tmax*len(placesBI)+2*placesBB.index(corr):1+2*tmax*len(placesBI)+2*placesBB.index(corr)+2]
|
||||
corrres = [[],[]]
|
||||
for i in range(len(tmpcorr)): corrres[i%2].append(tmpcorr[i])
|
||||
for t in range(int(len(tmpcorr)/2)): realsamples[t].append(corrres[0][t])
|
||||
|
|
Loading…
Add table
Reference in a new issue