Back to the main page.

Bug 9 - devide by zero in timelock analysis

Status CLOSED FIXED
Reported 2010-01-07 14:42:00 +0100
Modified 2011-01-12 09:29:21 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Eelke Spaak
URL:
Tags:
Depends on:
Blocks:
See also:

Ingrid Nieuwenhuis - 2010-01-07 14:42:14 +0100

in line 405: var = (ss-(s.^2)./dof) ./ (dof-1) When going from raw to timelock representation in only one trial data dof is 1. in browse_movieplotER this is done all the time and all the time warning (long list of functions calling each other) is received. Is there a way of avoiding this?


Robert Oostenveld - 2010-12-01 16:02:12 +0100

I would suggest just not to compute the variance in case dof=1.