Reorder raw data from file.
Parameters : | data : 2D ndarray
shape : tuple of ints
torder : {‘f’, ‘r’, ‘o’ of Pytho function}
|
---|---|
Returns : | tdata : ndarray
|
Notes
Minimal error checking is done to see if data and shape contain the same number of values. This should be done before calling this function.