Changeset 77 for plugins


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
  • plugins/calculate_snr.m

    r76 r77  
    9797  for ii=1:size(DATA{1}.FTDATA,3)
    9898    vol=AddInfo.CurrentVol;
    99     signal=DATA{1}.FTDATA(ROI(SignalRoiInd).voxels{1}(:,:,ii,vol));
    100     noise=DATA{1}.FTDATA(ROI(NoiseRoiInd).voxels{1}(:,:,ii,vol));
     99    data = DATA{1}.FTDATA(:,:,ii,vol);
     100    signal=data(ROI(SignalRoiInd).voxels{1}(:,:,ii,vol));
     101    noise=data(ROI(NoiseRoiInd).voxels{1}(:,:,ii,vol));
    101102    if isempty(signal) || isempty(noise)
    102103      snr(ii) = NaN;
Note: See TracChangeset for help on using the changeset viewer.

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