Insufficient data for ICA

,

Hi there,

I'm trying to use ICA (PICARD) to remove ocular artifacts from my MEG data:

but when I do so I get this warning in MATLAB:

as well as this warning in the Brainstorm window:

Do I really need 48 minutes of data for ICA to work properly? Or is this warning caused by the apparent rank inconsistency? The warning says this inconsistency is most likely because I am using Linux 64-bit Matlab, but I am running Matlab (2023a) on MacOS. I saw this thread on this rank deficiency problem but it does not seem to have been resolved.

Curiously, the ICA seems to work okay despite the warning, in that so far I have been able to consistently identify IC's that correlate with the VEOG and HEOG channels, and removing them seems to do a good job removing the ocular artifacts.

Any guidance would be much appreciated!

This comes from a very conservative rule of thumb, where number of time samples is a k multiplied by nChannels^2 . This comes from the fact that the unmixing matrix that is estimated with ICA has nChannels^2. So in Brainstorm the warning is raised if there are less than 10 time samples for each element in the unmixing matrix.

10*(270^2) = 729000 samples --> 2916 s with fs =250

As mentioned, this is very conservative requirement, and it is possible to find artifactual components with less samples.

Are there flat channels in your recording? Or channels that were interpolated? Those will reduce the rank.

Since you are working with MEG sensors and there are VEOG and HEOG channels, you may want to tests your results against artifact removal with SSP:

https://neuroimage.usc.edu/brainstorm/Tutorials/ArtifactsSsp

1 Like

Oh I see, thank you!

No flat channels, and I don't believe there was any interpolation unless that was done in the downsampling (from 2400 to 250Hz)? When I export the recording to Matlab and calculate the rank I get 270.

The issue is in the way the rank is computed inside picard:

Specifically on the test against rankTolerance = 1e-7, as eigenvalues for MEG signals are smaller

So, there is no reason to worry on this warning

1 Like

Ah okay I see, thank you for your help!