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.
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:
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.