Back to the main page.

Bug 1439 - ft_denoise_synthetic needs reference channels as input, if they are missing output description is wrong since data hasn't changed

Status CLOSED FIXED
Reported 2012-04-19 10:31:00 +0200
Modified 2012-06-01 14:08:15 +0200
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 minor
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Barbara Haendel - 2012-04-19 10:31:37 +0200

When using ft_denoise_synthetic to calculate e.g. 3rd order grads one has to use preprocessed data. Normally one only reads in those channels which are relevant for later analysis so output of preprocessing will be data without reference channels. If now subsequently using ft_denoise_synthetic the output will be not not changed because reference channels are missing. However the new file will be marked as data.grad.balance.current: 'G3BR' This would be wrong. It could be helpful to include a warning if reference channels are missing and update the description accordingly. Best, Barbara


Jan-Mathijs Schoffelen - 2012-05-21 10:01:04 +0200

included an explicit check for the presence of reference channel data and wrote test function revision 5789