Back to the main page.

Bug 888 - ft_freqstatistics requires cfg.neighborhood when dimord = 'freq_time'

Status CLOSED FIXED
Reported 2011-08-23 18:19:00 +0200
Modified 2011-11-11 11:19:53 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Roemer van der Meij - 2011-08-23 18:19:13 +0200

It requests the same when cfg.avgoverchan = 'yes'. Meaning, the check for the cfg.neighborhood is performed even when there are no channels in the data.


Roemer van der Meij - 2011-08-23 18:21:36 +0200

The same is also required when there is only 1 channel in the data.


Robert Oostenveld - 2011-08-24 10:24:42 +0200

it makes sense that if avgoverchan=true is specified, a check is done whether any dimord is chan. If dimord does not contain chan, the user shoud get an error on avgoverchan=yes.


Stephen Whitmarsh - 2011-10-28 15:22:55 +0200

the resulting trl still needs to be rounded (e.g. cfg.trl = round(cfg.trl)) in case you dont want to end up with 'trial definition is not internally consistent' by ft_fetch_data at a later point. But this bug is fixed.


Robert Oostenveld - 2011-11-11 11:19:53 +0100

I closed all bugs that were recently resolved.