Back to the main page.
Bug 116 - Feature that was used by SPM disappeared
Status | CLOSED FIXED |
Reported | 2010-07-19 13:49:00 +0200 |
Modified | 2010-07-24 14:10:19 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P1 major |
Assigned to: | Jan-Mathijs Schoffelen |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Vladimir Litvak - 2010-07-19 13:49:51 +0200
I have the following code in my function in MEEGTools toolbox in SPM: data.cfg.trl(:, 4) = 1:length(trlind); data = ft_rejectvisual(cfg, data); % Figure out based on the output of FT function what trials and channels to % reject trlsel = ones(1, length(trlind)); trlsel(data.cfg.trl(:, 4)) = 0; This was once suggested by Robert. The idea is that rejectvisual should update the trl and I use it to figure out which trials were rejected. This used to work but doesn't any more as data.cfg.trl is empty in the output.