Commit 20a4f235 authored by kulvait's avatar kulvait

Correcting getFrame

parent 634e7657
......@@ -31,7 +31,7 @@ def timeToSeconds(naivetime):
def getFrame(fileName, i, row_from=None, row_to=None, col_from=None, col_to=None):
# i is the slice index
header = np.fromfile(file, np.dtype('<i2'), 3)
header = np.fromfile(fileName, np.dtype('<i2'), 3)
rows = np.uint32(header[0])
columns = np.uint32(header[1])
if row_from is None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment