Skip to content

Commit d13e172

Browse files
author
Félix C. Morency
committed
RF: Removed change in data orientation. Let the data as-is
1 parent 83211c4 commit d13e172

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nibabel/ecat.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -662,10 +662,6 @@ def raw_data_from_fileobj(self, frame=0):
662662
offset = self._get_frame_offset(frame) + 512
663663
fid_obj = self.fileobj
664664
raw_data = array_from_file(shape, dtype, fid_obj, offset=offset)
665-
## put data into neurologic orientation
666-
### ASSUME Patient orientation is HFS as patient orientation
667-
### is not always set in header
668-
raw_data = raw_data[::-1,::-1,::-1]
669665
return raw_data
670666

671667
def data_from_fileobj(self, frame=0):

0 commit comments

Comments
 (0)