


Fieldnames of a NIFTI-1 object _______________________________________________________________________ Copyright (C) 2005 Wellcome Department of Imaging Neuroscience



0001 function t = fieldnames(obj) 0002 % Fieldnames of a NIFTI-1 object 0003 % _______________________________________________________________________ 0004 % Copyright (C) 2005 Wellcome Department of Imaging Neuroscience 0005 0006 % 0007 % $Id: fieldnames.m 253 2005-10-13 15:31:34Z guillaume $ 0008 0009 0010 if isfield(obj.hdr,'magic') 0011 t = {... 0012 'dat' 0013 'mat' 0014 'mat_intent' 0015 'mat0' 0016 'mat0_intent' 0017 'intent' 0018 'diminfo' 0019 'timing' 0020 'descrip' 0021 'cal' 0022 'aux_file' 0023 }; 0024 else 0025 error('This should not happen.'); 0026 end;