Changeset 101


Ignore:
Timestamp:
Jan 25, 2010, 3:19:52 PM (9 years ago)
Author:
tjniskan
Message:
  • aedes_write_nifti now accepts logical data

M aedes_write_nifti.m
M aedes_revision.m

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aedes_revision.m

    r100 r101  
    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 -
  • aedes_write_nifti.m

    r80 r101  
    140140 
    141141 case {1, 2} % --------------------------------
    142    if isnumeric(DATA)
     142   if isnumeric(DATA) || islogical(DATA)
    143143     data = DATA;
     144     if islogical(data)
     145       data=uint8(data);
     146     end
    144147     DATA=[];
    145148     DATA.FTDATA = data;
Note: See TracChangeset for help on using the changeset viewer.

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