Changeset 188


Ignore:
Timestamp:
Jan 17, 2012, 3:46:34 PM (6 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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aedes_revision.m

    r187 r188  
    9393% bash-script every time it is called so that this file "aedes_revision.m" is
    9494% always in the list of committed files. DO NOT EDIT THE NEXT LINE!!!
    95 % - SVN Hook -
     95% - Svn Hook -
  • 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