Back to the main page.

Bug 1049 - statistics_montecarlo requires cfg.dim, but I cannot find information what dim should/can be

Reported 2011-10-17 17:12:00 +0200
Modified 2015-02-16 09:34:10 +0100
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Jörn M. Horschig - 2011-10-17 17:12:21 +0200

I am running sourcestatistics and never bothered about the dimensions in freqstatistics

Jan-Mathijs Schoffelen - 2011-10-20 14:38:05 +0200

good point. cfg.dim should in this case be the grid.dim when the source space is defined on a 3D regular grid. Are you using cfg.implementation = 'new' or 'old' for ft_sourcestatistics?

Jörn M. Horschig - 2011-10-20 15:21:46 +0200

whatever the default is ;) btw, I figured that with cfg.dim out (it is kinda obvious), but it should be documented somewhere

Jan-Mathijs Schoffelen - 2011-10-20 15:43:11 +0200

I agree. In the past it was added by statistics_wrapper, which was doing the data bookkeeping. It would make sense to add this behavior again to ft_sourcestatistics (implementation: 'old' (=default)). No need for the user to specify this. It is only needed in statistics_montecarlo to know how to reshape the data for the 3D-clustering

Boris Reuderink - 2011-11-17 10:46:33 +0100

Changed the status of bugs without a specific owner to UNCONFIRMED. I'll try to replicate these bugs (potentially involving the submitter), and change confirmed bugs to NEW. Boris

Boris Reuderink - 2011-12-07 11:35:50 +0100

Defect by developer, changed to confirmed.

Jan-Mathijs Schoffelen - 2011-12-07 13:34:39 +0100

generate test data that contain the different representations of source data: old vs new single subject vs multi subject pcc, dics, lcmv containing .avg .trial volumetric vs surface based

Jan-Mathijs Schoffelen - 2011-12-13 10:26:21 +0100

example data stored in /home/common/matlab/fieldtrip/data/test/source/meg/ as of revision 5027

Roemer van der Meij - 2012-04-12 14:13:48 +0200

The test script (test_bug1049) now fails, as the directory stuctures have changed for the test-data. Now, for some old fieldtrip-versions there are separate data-directories. Should this script loop over all old versions and test each one?

Jan-Mathijs Schoffelen - 2015-02-11 15:44:55 +0100

It seems that this one has become stale. Resolving for now. Feel free to reopen again if needed