I used ICA on my MEG data from before 2012 and now FieldTrip crashes, why is that?

In recent FieldTrip versions we changed the behaviour for ft_componentanalysis to remove the balancing-matrix from the gradiometer structure. Accordingly we also changed the behaviour of other functions. If you have done an ICA before this change was introduced your data will most likely still contain the balancing-matrix, which will lead to crashes in certain functions pertaining to inferring the position of the channels. If you want to keep using your old data without redoing the ICA, a workaround for you is to to remove the balancing-matrix from your gradiometer information:

data.grad = rmfield(data.grad, 'balance');

If you have done this, everything should work fine again.

faq/i_used_ica_on_my_meg_data_from_before_2012_and_now_fieldtrip_crashes_why_is_that.txt · Last modified: 2013/07/03 09:32 by jmhorschig

You are here: startfaqi_used_ica_on_my_meg_data_from_before_2012_and_now_fieldtrip_crashes_why_is_that
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
Mobile Analytics Website Security Test