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/filter_fmri_data.m

    r37 r80  
    2525
    2626% Read the data
    27 data = an2_read_nifti(infile);
     27data = aedes_read_nifti(infile);
    2828if length(size(data.FTDATA))<4
    2929  error('Input data has to be 4D data!')
     
    4242
    4343% Waitbar
    44 wbh=an2_wbar(0,'Filtering image data...');
     44wbh=aedes_wbar(0,'Filtering image data...');
    4545
    4646counter=1;
     
    5252          tmp = squeeze(double(data.FTDATA(ii,kk,zz,:)));
    5353          data.FTDATA(ii,kk,zz,:) = filtfilt(B_lo,A_lo,filtfilt(B_hi,A_hi,tmp))+mean(tmp);
    54           an2_wbar(counter/nVox,wbh)
     54          aedes_wbar(counter/nVox,wbh)
    5555          counter=counter+1;
    5656        end
     
    6161
    6262% Write new 4D NIfTI  image
    63 cwh = an2_calc_wait(sprintf('Writing 4D NIfTI file:\n%s',outfile));
    64 an2_write_nifti(data,outfile);
     63cwh = aedes_calc_wait(sprintf('Writing 4D NIfTI file:\n%s',outfile));
     64aedes_write_nifti(data,outfile);
    6565delete(cwh)
    6666
Note: See TracChangeset for help on using the changeset viewer.

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