Back to the main page.

Bug 894 - statfun_indepsamplesZcoh requires an undocumented cfg.label

Reported 2011-08-24 14:47:00 +0200
Modified 2011-08-31 14:50:20 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Laura Marzetti - 2011-08-24 14:47:56 +0200

it should be documented, but consider what would have to be specified if it is called using ft_sourcestatistics?

Jan-Mathijs Schoffelen - 2011-08-24 14:54:29 +0200

Note that for all-to-all source level coherence, you can use ft_connectivityanalysis

Jan-Mathijs Schoffelen - 2011-08-29 16:00:05 +0200

The cfg.label is documented in line 24/25 of the function. I added a check with an explicit error to deal with this. In the case of source-level data it would make sense to enforce the presence of a cfg.pos, from which the number of dipole positions can be determined.