Back to the main page.

Bug 445 - move decoding of omri SAP/nifti into fileio/private

Status ASSIGNED
Reported 2011-01-27 09:16:00 +0100
Modified 2011-11-14 21:50:48 +0100
Product: FieldTrip
Component: realtime
Version: unspecified
Hardware: All
Operating System: All
Importance: P3 enhancement
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2011-01-27 09:16:06 +0100

right now the extra header information for mri is to much scattered around. there should be a hdr.orig.blob.sap hdr.orig.blob.nifti hdr.orig.blob.res4 hdr.orig.blob.xxx for each of the binary blobs that can be stored in the buffer. Furthermore, there should be hdr.orig.sap hdr.orig.nifti for the decoded contents of the binary blobs and finally we can consider adding hdr.dim hdr.transform to the header to support reshaping and coordinate transformations in case the data represents a NVOXELSxNTIME stream. Note that the dim+transform are mri specific. We already have FirstSampleTimeStamp and TimeStampPerSample fields in the hdr in case of animal electrophysiology data, so some differentiation in the hdr is already happening (and makes sense).


Robert Oostenveld - 2011-01-27 09:24:38 +0100

this bug or suggested improvement came up in the online MRI discussion on Friday 21 Januari with Stefan, Robert and Markus