Changeset 77 for an2_readfidprefs.m


Ignore:
Timestamp:
Feb 5, 2009, 10:16:41 AM (10 years ago)
Author:
tjniskan
Message:
  • Fixed a strange bug related to resizing Aedes window in Matlab

R2008a (and possibly R2008b and R2009a).

  • Fixed bugs of Voxel TimeSeries? and Overlay Control figure

handles not being properly destroyed on exit.

  • Changed default values for reading VNMR files (now Fast Read is on

by default, output precision is single and data is oriented using
PROCPAR.orient)

  • Fixed a bug in the calculate SNR -plugin
  • Made a temporary workaround for controlling the output in the "View

ROI statistics" -table. A proper GUI implementation will (hopefully) follow
shortly. The output can be controlled by using Aedes preferences. For
example setpref('Aedes','StatPrintDirs?','TXYZV') will print in the
output Total, X-dir, Y-dir, Z-dir and V-dir statistics.

M an2_revision.m
M an2_data_read.m
M an2_resviewer.m
M aedes.m
M an2_res2table.m
M plugins/calculate_snr.m
M an2_readfid.m
M an2_readfidprefs.m
M an2_roi_stats.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • an2_readfidprefs.m

    r75 r77  
    6868else
    6969  Dat.DCcorrection  = false;
    70   setpref('Aedes','ReadfidDCcorrection',false)
     70  setpref('Aedes','ReadfidDCcorrection',Dat.DCcorrection)
    7171end
    7272
     
    8484else
    8585  Dat.ZeroPadding = 2;
    86   setpref('Aedes','ReadfidZeropadding',2)
     86  setpref('Aedes','ReadfidZeropadding',Dat.ZeroPadding)
    8787end
    8888
     
    9696else
    9797  Dat.Sorting = true;
    98   setpref('Aedes','ReadfidSorting',true)
     98  setpref('Aedes','ReadfidSorting',Dat.Sorting)
    9999end
    100100
     
    107107  end
    108108else
    109   Dat.FastDataRead = false;
    110   setpref('Aedes','ReadfidFastRead',false)
     109  Dat.FastDataRead = true;
     110  setpref('Aedes','ReadfidFastRead',Dat.FastDataRead)
    111111end
    112112
     
    119119  end
    120120else
    121   Dat.Precision = 'double';
    122   setpref('Aedes','ReadfidPrecision','double')
     121  Dat.Precision = 'single';
     122  setpref('Aedes','ReadfidPrecision',Dat.Precision)
    123123end
    124124
     
    135135  Dat.OrientImages = getpref('Aedes','ReadfidOrientImages');
    136136else
    137   Dat.OrientImages = 'off';
    138   setpref('Aedes','ReadfidOrientImages','off')
     137  Dat.OrientImages = 'on';
     138  setpref('Aedes','ReadfidOrientImages','on')
    139139end
    140140
Note: See TracChangeset for help on using the changeset viewer.

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