Back to the main page.

Bug 30 - fix read_mri

Status CLOSED FIXED
Reported 2010-01-27 09:42:00 +0100
Modified 2010-12-08 11:16:20 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: Macintosh
Operating System: Mac OS
Importance: P5 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2010-01-27 09:42:49 +0100

if issubfield(hdr.voxel_trans, 'trans') transform = hdr.voxel_trans.trans; elseif issubfield(hdr.trans, 'trans'), transform = hdr.trans.trans; end by if isfield(hdr, 'voxel_trans') transform = hdr.voxel_trans.trans; elseif isfield(hdr, 'trans') transform = hdr.trans.trans; end in read_mri