Changeset 80 for plugins


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

Location:
plugins
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • plugins/calc_asl_cbf.m

    r52 r80  
    6262
    6363% Ask for lambda
    64 resp = an2_inputdlg('Lambda coefficient?','Lambda coefficient?',...
     64resp = aedes_inputdlg('Lambda coefficient?','Lambda coefficient?',...
    6565  num2str(lambda));
    6666if isempty(resp)
     
    8686elseif strcmpi(resp,'Use constant T1')
    8787  % Ask for T1 value
    88   resp = an2_inputdlg('Input T1 value','Input T1 value',...
     88  resp = aedes_inputdlg('Input T1 value','Input T1 value',...
    8989        num2str(t1map));
    9090  if isempty(resp)
  • plugins/map_plugins/t1_3_parameter_fit.m

    r78 r80  
    2626
    2727
    28 resp = an2_inputdlg('Type fit values','Input dialog',...
     28resp = aedes_inputdlg('Type fit values','Input dialog',...
    2929  {mat2str(fit_vals)});
    3030if isempty(resp)
     
    4848[fp,fn,fe]=fileparts([fpath,fname]);
    4949try
    50   an2_fitmaps(DATA,'T1_3P',fit_vals,'FileName',[fp,filesep,fn]);
     50  aedes_fitmaps(DATA,'T1_3P',fit_vals,'FileName',[fp,filesep,fn]);
    5151catch
    5252  errordlg({'Could not calculate T1 3P maps. The following error was returned',...
  • plugins/map_plugins/t1_inversion_recovery.m

    r78 r80  
    2626
    2727
    28 resp = an2_inputdlg('Type TI values','Input dialog',...
     28resp = aedes_inputdlg('Type TI values','Input dialog',...
    2929  {mat2str(fit_vals)});
    3030if isempty(resp)
     
    4848[fp,fn,fe]=fileparts([fpath,fname]);
    4949try
    50   an2_fitmaps(DATA,'T1_IR',fit_vals,'FileName',[fp,filesep,fn]);
     50  aedes_fitmaps(DATA,'T1_IR',fit_vals,'FileName',[fp,filesep,fn]);
    5151catch
    5252  errordlg({'Could not calculate T1 IR maps. The following error was returned',...
  • plugins/map_plugins/t1_rho.m

    r78 r80  
    3131end
    3232
    33 resp = an2_inputdlg('Type spin-lock values');
     33resp = aedes_inputdlg('Type spin-lock values');
    3434if isempty(resp)
    3535  return
     
    5353[fp,fn,fe]=fileparts([fpath,fname]);
    5454try
    55   an2_fitmaps(DATA,'t1r',fit_vals,'FileName',[fp,filesep,fn]);
     55  aedes_fitmaps(DATA,'t1r',fit_vals,'FileName',[fp,filesep,fn]);
    5656catch
    5757  errordlg({'Could not calculate T1 rho maps. The following error was returned',...
  • plugins/map_plugins/t1_saturation_recovery.m

    r78 r80  
    2626
    2727
    28 resp = an2_inputdlg('Type fit values','Input dialog',...
     28resp = aedes_inputdlg('Type fit values','Input dialog',...
    2929  {mat2str(fit_vals)});
    3030if isempty(resp)
     
    4848[fp,fn,fe]=fileparts([fpath,fname]);
    4949try
    50   an2_fitmaps(DATA,'T1_SR',fit_vals,'FileName',[fp,filesep,fn]);
     50  aedes_fitmaps(DATA,'T1_SR',fit_vals,'FileName',[fp,filesep,fn]);
    5151catch
    5252  errordlg({'Could not calculate T1 SR maps. The following error was returned',...
  • plugins/map_plugins/t2.m

    r78 r80  
    4040
    4141
    42 resp = an2_inputdlg('Type TE values','Input dialog',...
     42resp = aedes_inputdlg('Type TE values','Input dialog',...
    4343  {mat2str(fit_vals)});
    4444if isempty(resp)
     
    6262[fp,fn,fe]=fileparts([fpath,fname]);
    6363try
    64   an2_fitmaps(DATA,'t2',fit_vals,'FileName',[fp,filesep,fn]);
     64  aedes_fitmaps(DATA,'t2',fit_vals,'FileName',[fp,filesep,fn]);
    6565catch
    6666  errordlg({'Could not calculate T2 maps. The following error was returned',...
  • plugins/map_plugins/t2_rho.m

    r78 r80  
    3131end
    3232
    33 resp = an2_inputdlg('Type spin-lock values');
     33resp = aedes_inputdlg('Type spin-lock values');
    3434if isempty(resp)
    3535  return
     
    5353[fp,fn,fe]=fileparts([fpath,fname]);
    5454try
    55   an2_fitmaps(DATA,'t2r',fit_vals,'FileName',[fp,filesep,fn]);
     55  aedes_fitmaps(DATA,'t2r',fit_vals,'FileName',[fp,filesep,fn]);
    5656catch
    5757  errordlg({'Could not calculate T2 rho maps. The following error was returned',...
  • plugins/save_roi_as_mask.m

    r45 r80  
    8181  DATA{1}.FTDATA=data;
    8282  datatype = 'uint8';
    83   [done,msg]=an2_write_nifti(DATA{1},filename,...
     83  [done,msg]=aedes_write_nifti(DATA{1},filename,...
    8484        'DataType',datatype);
    8585else
    86   [done,msg]=an2_write_nifti(data,filename,...
     86  [done,msg]=aedes_write_nifti(data,filename,...
    8787        'VoxelSize',voxelsize,'XYZUnits',xyzunits,...
    8888        'TimeUnits',timeunits);
  • plugins/view_kspace.m

    r74 r80  
    8686 
    8787  %% Read K-space
    88   [tmp,msg]=an2_readfid([fpath,fname],'return',2,...
    89     'FastRead','on','ReorientEPI','on');
     88  [tmp,msg]=aedes_readfid([fpath,fname],'return',2,...
     89    'FastRead','on','OrientImages','on');
    9090  if isempty(tmp)
    9191    if iscell(msg)
  • plugins/write_difference_images.m

    r45 r80  
    4444 
    4545  % write *.nii files
    46   h=an2_wbar(0,sprintf('Writing File...\n%s',' '));
     46  h=aedes_wbar(0,sprintf('Writing File...\n%s',' '));
    4747  for ii=1:length(data_new)
    48         an2_wbar(ii/length(data_new),h,...
     48        aedes_wbar(ii/length(data_new),h,...
    4949          sprintf('Writing File...\n%s',[dirname,fnames{ii}]))
    50         an2_write_nifti(data_new{ii},[dirname,fnames{ii}]);
     50        aedes_write_nifti(data_new{ii},[dirname,fnames{ii}]);
    5151  end
    5252  delete(h)
Note: See TracChangeset for help on using the changeset viewer.

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