Changeset 80 for aedes_fitmaps.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 moved

Legend:

Unmodified
Added
Removed
  • aedes_fitmaps.m

    r78 r80  
    1 function map_struct = an2_fitmaps(DATA,maptype,fit_vals,varargin)
    2 % AN2_FITMAPS - Calculate various parameter maps (T1, T2, T1rho, B1,
     1function map_struct = aedes_fitmaps(DATA,maptype,fit_vals,varargin)
     2% AEDES_FITMAPS - Calculate various parameter maps (T1, T2, T1rho, B1,
    33%               Perfusion, etc.)
    44%   
    55%
    66% Synopsis:
    7 %       MapStruct = an2_fitmaps(data,maptype,fit_vals,...
     7%       MapStruct = aedes_fitmaps(data,maptype,fit_vals,...
    88%                                'property1',value1,'property2',value2,...)
    99%
     
    462462for ii=1:Dat.nMaps
    463463  if Dat.wbar && ii==1
    464     wbh=an2_wbar(0,sprintf('Processing map %d/%d',ii,Dat.nMaps));
     464    wbh=aedes_wbar(0,sprintf('Processing map %d/%d',ii,Dat.nMaps));
    465465  elseif Dat.wbar
    466     an2_wbar(counter/nFits,wbh,sprintf('Processing map %d/%d',ii,Dat.nMaps));
     466    aedes_wbar(counter/nFits,wbh,sprintf('Processing map %d/%d',ii,Dat.nMaps));
    467467  end
    468468 
     
    471471      if ~isempty(Dat.Mask) && ~Dat.Mask(kk,tt,ii)
    472472        if Dat.wbar
    473           an2_wbar(counter/nFits,wbh);
     473          aedes_wbar(counter/nFits,wbh);
    474474        end
    475475        counter = counter+1;
     
    509509     
    510510      if Dat.wbar
    511         an2_wbar(counter/nFits,wbh);
     511        aedes_wbar(counter/nFits,wbh);
    512512      end
    513513      counter = counter+1;
     
    567567for ii=1:Dat.nMaps
    568568  if Dat.wbar && ii==1
    569         wbh=an2_wbar(0,sprintf('Calculating B1-map %d/%d',ii,Dat.nMaps));
     569        wbh=aedes_wbar(0,sprintf('Calculating B1-map %d/%d',ii,Dat.nMaps));
    570570  elseif Dat.wbar
    571         an2_wbar(counter/nFits,wbh,sprintf('Calculating map %d/%d',ii,Dat.nMaps));
     571        aedes_wbar(counter/nFits,wbh,sprintf('Calculating map %d/%d',ii,Dat.nMaps));
    572572  end
    573573 
     
    620620         
    621621          if Dat.wbar
    622                 an2_wbar(counter/nFits,wbh);
     622                aedes_wbar(counter/nFits,wbh);
    623623          end
    624624          counter = counter+1;
     
    696696  for ii=1:Dat.nMaps
    697697        if Dat.wbar && ii==1
    698           wbh=an2_wbar(0,sprintf('Processing map %d/%d',ii,Dat.nMaps));
     698          wbh=aedes_wbar(0,sprintf('Processing map %d/%d',ii,Dat.nMaps));
    699699        elseif Dat.wbar
    700           an2_wbar(counter/nFits,wbh,sprintf('Processing map %d/%d',ii,Dat.nMaps));
     700          aedes_wbar(counter/nFits,wbh,sprintf('Processing map %d/%d',ii,Dat.nMaps));
    701701        end
    702702       
     
    715715          counter = counter+1;
    716716          if Dat.wbar
    717                 an2_wbar(counter/nFits,wbh);
     717                aedes_wbar(counter/nFits,wbh);
    718718          end
    719719    end
     
    739739  for ii=1:Dat.nMaps
    740740        if Dat.wbar && ii==1
    741           wbh=an2_wbar(0,sprintf('Processing map %d/%d',ii,Dat.nMaps));
     741          wbh=aedes_wbar(0,sprintf('Processing map %d/%d',ii,Dat.nMaps));
    742742        elseif Dat.wbar
    743           an2_wbar(counter/nFits,wbh,sprintf('Processing map %d/%d',ii,Dat.nMaps));
     743          aedes_wbar(counter/nFits,wbh,sprintf('Processing map %d/%d',ii,Dat.nMaps));
    744744        end
    745745       
     
    769769         
    770770                if Dat.wbar
    771                   an2_wbar(counter/nFits,wbh);
     771                  aedes_wbar(counter/nFits,wbh);
    772772                end
    773773                counter = counter+1;
Note: See TracChangeset for help on using the changeset viewer.

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