Back to the main page.

Bug 3459 - ft_rejectvisual plots all channels and trials

Reported 2018-10-15 15:24:00 +0200
Modified 2018-11-12 10:52:36 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P5 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Nir Ofir - 2018-10-15 15:24:33 +0200

Created attachment 874 Example data Hi, I saw that an older bug supposedly had this solved (bug 2673), but when I tried it doesn't seem to have been solved. I reopened the bug about a month ago and got no replies, so I'm posting a new one: I tried using cfg to select trials and/or channels with ft_rejectvisual, but the function disregards it. The trial selection seems to have no effect, while selecting channels means that subplot are still created but have no traces in them. I'm using a very recent FT from the FTP (2018/09/12). I attached example data, and here are the lines I used to call ft_rejectvisual: cfg = []; cfg.trials = 1; = 1; cfg.method = 'trial'; cfg.preproc.detrend = 'yes'; ft_rejectvisual(cfg, dat) Thanks, Nir Ofir

Jan-Mathijs Schoffelen - 2018-11-05 13:34:14 +0100

This is a duplicate of 2673 *** This bug has been marked as a duplicate of bug 2673 ***

Jan-Mathijs Schoffelen - 2018-11-12 10:52:36 +0100

closing time