bug using planarcombine and with planar 4d/bti data

Mark Drakesmith mark.drakesmith at POSTGRAD.MANCHESTER.AC.UK
Wed Mar 3 15:17:12 CET 2010


Hi

There seems to be a small bug with using using planarcombine with 4D/BTI
data after using megplanar. It reports the gradiometer type to be
'bti248' instead of 'bti248_planar' which it should be. The problem is
with senstype function, where it puills the definitions from .hdr.grad
substructure first instead of .grad substrutre (line 109) which is the
one that  has the planar-transofrmed definitions.

I just swapped the order inwhich the function looks for gradiometer
definitions so that it looks in .grad first instead of .hdr.grad. It now
correctly reports the gadiometer type as 'bti248_planar'.

Many thanks


Mark

Mark Drakesmith
PhD Student

Neuroscience and Aphasia Research Unit (NARU)
University of Manchester

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list