Changeset 98 for plugins


Ignore:
Timestamp:
Oct 29, 2009, 3:57:22 PM (10 years ago)
Author:
tjniskan
Message:
  • 3D ROIs can now be loaded on 4D datasets if the first three

dimensions match.

  • Corrected a small bug in the time series viewing in Aedes.
  • Added Fourier domain smoothing to misclib/fmri_smooth.m
  • Removed an unnecessary matrix replication from

plugins/fmri_plugins/basic_fmri_analysis.m

M misclib/fmri_smooth.m
M aedes.m
M plugins/fmri_plugins/basic_fmri_analysis.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/fmri_plugins/basic_fmri_analysis.m

    r90 r98  
    7171% Resize tmap to EPI time series size
    7272tmap = maps_out.tmap;
    73 tmap = repmat(tmap,[1,1,1,size(DATA{1}.FTDATA,4)]);
     73%tmap = repmat(tmap,[1,1,1,size(DATA{1}.FTDATA,4)]);
    7474
    7575overlay.FTDATA = tmap;
     
    101101  overlay.fMRIdurats = new_durat;
    102102  DATA{1}.FTDATA(:,:,:,omitVols)=[];
    103   overlay.FTDATA(:,:,:,omitVols)=[];
     103  %overlay.FTDATA(:,:,:,omitVols)=[];
    104104else
    105105  new_onset = onset;
     
    183183  [II_mn,JJ_mn,KK_mn]=ind2sub(size(maps_out.tmap),I_mn);
    184184 
    185   ts_data_max = squeeze(DATA{1}.FTDATA(II_mx,JJ_mx,KK_mx,:));
    186   ts_data_min = squeeze(DATA{1}.FTDATA(II_mn,JJ_mn,KK_mn,:));
     185  ts_data_max = double(squeeze(DATA{1}.FTDATA(II_mx,JJ_mx,KK_mx,:)));
     186  ts_data_min = double(squeeze(DATA{1}.FTDATA(II_mn,JJ_mn,KK_mn,:)));
    187187 
    188188  [bold_prc_max,z_max,th_max,z_hat_max]=estimate_bold(new_onset,new_durat,TR,nScans,ts_data_max);
Note: See TracChangeset for help on using the changeset viewer.

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