Back to the main page.

Bug 2425 - ft_datatype_sens fails on montaged grads

Status ASSIGNED
Reported 2013-12-20 13:52:00 +0100
Modified 2014-02-17 13:32:06 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 enhancement
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Vladimir Litvak - 2013-12-20 13:52:35 +0100

Created attachment 577 Example grad I think I mentioned this problem before at some point and we postponed this for later, but now it came up in the context of what Ash is doing and I can't see an easy workaround in SPM code. Doing some kind of reduction to components is quite common, especially in Oxford so it should be supported.


Vladimir Litvak - 2013-12-20 13:53:27 +0100

(In reply to Vladimir Litvak from comment #0) To get the crash do ft_datatype_sens(grad, 'version', 'upcoming', 'amplitude', 'T', 'distance', 'mm');


Vladimir Litvak - 2014-01-19 12:16:26 +0100

Created attachment 583 Neuromag grad example Here is another example from Rik. He applied ICA to his dataset and this caused the code to fail. >> ft_datatype_sens(mgrad, 'version', 'upcoming', 'amplitude', 'T', 'distance', 'mm'); Error using ft_datatype_sens (line 255) unexpected number of coils (102) contributing to channel MEG0111 (1)


Robert Oostenveld - 2014-02-17 13:32:06 +0100

I fixed it for the neuromag test case mac001> svn commit utilities/ft_datatype_sens.m Sending utilities/ft_datatype_sens.m Transmitting file data . Committed revision 9206. The ctf test case is not yet solved, because I don't understand yet where the chantytpe/chanunit information went missing. I'll make an example test script which comprises preprocessing and componentanalysis to check where it goes wrong. Probably the solution lies in ft_apply_montage.