Ignore:
Timestamp:
Jan 17, 2012, 3:46:34 PM (7 years ago)
Author:
tjniskan
Message:
  • Fixed a bug in fmri analysis. Threshold estimation failed when fmri time series had no variation.

M misclib/fmri_analysis.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misclib/fmri_analysis.m

    r164 r188  
    347347end
    348348
     349% Set NaN:s to zeros
     350maps_out.tmap(isnan(maps_out.tmap)) = 0;
     351
    349352% Calculate effective degrees of freedom
    350353dof = (trace(R*KKT).^2)/trace(R*KKT*R*KKT);
Note: See TracChangeset for help on using the changeset viewer.

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