Changeset 80 for misclib/nifti4dto3d.m


Ignore:
Timestamp:
Feb 20, 2009, 3:06:07 PM (10 years ago)
Author:
tjniskan
Message:
  • Changed the historical "an2_" prefix to "aedes_" in all files. NOTE:

Any script or function relying to Aedes functions will be broken
because of this. Just do a search/replace from "an2_" to "aedes_" in
your files and all should be well...

  • Changed the name of an2_readtab.m to a more informative

aedes_readphasetable.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misclib/nifti4dto3d.m

    r53 r80  
    6161
    6262% Read the 4D NIfTI file
    63 DATA = an2_read_nifti(infile);
     63DATA = aedes_read_nifti(infile);
    6464nVol = size(DATA.FTDATA,4);
    6565
     
    7171% Write new 3D NIfTI volumes
    7272if showWbar
    73   wbh=an2_wbar(1/nVol,...
     73  wbh=aedes_wbar(1/nVol,...
    7474        sprintf('Writing 3D NIfTI files...1/%d',nVol));
    7575end
     
    8282  tmp_data.FTDATA = DATA.FTDATA(:,:,:,ii);
    8383  tmp_data.HDR.FileHeader = FileHeader;
    84   done=an2_write_nifti(tmp_data,filename);
     84  done=aedes_write_nifti(tmp_data,filename);
    8585 
    8686  if ~done
     
    8989 
    9090  if showWbar
    91         an2_wbar(ii/nVol,wbh,...
     91        aedes_wbar(ii/nVol,wbh,...
    9292          sprintf('Writing 3D NIfTI files...%d/%d',ii,nVol))
    9393  end
Note: See TracChangeset for help on using the changeset viewer.

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