Skip to content

Commit 26f8dda

Browse files
author
Albert Akhriev
committed
milestone version; code cleanup; technical report describes how to use Amdados application
1 parent f5114d7 commit 26f8dda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/Utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def ReadResultFile(filename) -> [np.ndarray, np.ndarray]:
134134
with open(filename, "rb") as fid:
135135
data = np.fromfile(fid, dtype=np.float32)
136136
data = np.reshape(data, (-1,4))
137-
Nw = data.shape[0] // (Nx * Ny) # number of written fields
137+
Nw = data.shape[0] // (Nx * Ny) # number of written records per field
138138
assert data.shape[0] == Nx * Ny * Nw, "wrong file size"
139139
idx = np.lexsort(np.rot90(data[:,0:3])) # sort by {t,x,y} triples
140140
# Create the output fields and corresponding timestamps.

0 commit comments

Comments
 (0)