Changeset 173


Ignore:
Timestamp:
Aug 30, 2011, 12:35:20 PM (8 years ago)
Author:
tjniskan
Message:
  • Added a function (fdf2nifti.m) for writing Varian FDF-files into a NIfTI file
  • Fixed a small bug in aedes_headerbrowser.m

A misclib/fdf2nifti.m
M aedes_readjcamp.m
M aedes_headerbrowser.m
M aedes_revision.m

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • aedes_headerbrowser.m

    r155 r173  
    476476        % Numeric values
    477477        if isnumeric(cVal)
    478           if ndims(cVal)<=2 || any(size(cVal)==1)
     478          if ndims(cVal)<=2 %|| any(size(cVal)==1)
    479479            Dat.FullTable{end,2} = mat2str(cVal);
    480480          else
     
    894894      elseif strcmp(Dat.FileFormatName,'generic header')
    895895        Dat.FavList.genheader = Dat.FavouriteList;
    896       else strcmp(Dat.FileFormatName,'generic structure')
     896                        elseif strcmp(Dat.FileFormatName,'generic structure')
    897897        Dat.FavList.generic = Dat.FavouriteList;
    898898      end
     
    901901      disp('Warning: Could not save AEDES_HEADERBROWSER preferences!');
    902902    end
    903     delete(H.Fig)
     903    delete(H.Fig);
    904904   
    905905  end
  • aedes_readjcamp.m

    r172 r173  
    4444fseek(fid,0,-1); % Rewind file
    4545
    46 % Read the whole file into a cell
    47 % try
    48 %   C = textscan(fid,'%s','delimiter','\n','BufSize',1024*1024);
    49 %   jdx_str=C{1};
    50 %       fclose(fid);
    51 % catch
    52 %       fclose(fid);
    53 %   error('Error while reading procpar file. %s',lasterr);
    54 % end
    5546C = fread(fid,inf,'char');
    5647fclose(fid);
  • aedes_revision.m

    r172 r173  
    9393% bash-script every time it is called so that this file "aedes_revision.m" is
    9494% always in the list of committed files. DO NOT EDIT THE NEXT LINE!!!
    95 % - Svn Hook -
     95% - SVN Hook -
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008