Empty-room pre-processing - ICA

  • MNE version: e.g. 1.3.0
  • operating system: Windows 11

Hi, I am trying to use my empty room data to whiten my covariance matrix before applying LCMV beamforming. In the pre-processing pipeline of the empty room, I successfully applied the function mne.preprocessing.maxwell_filter_prepare_emptyroom. Now, on my experimental data, I also applied ICA. My question is: what should I do with my empty room data? Is it enough to just remove the same number of components, or is there a way to save the ICA weights from the data and apply the same transformation to the empty room recordings?

Thank you!

Once you fit the ica on your data, you can do ica.apply(my_data) to remove the bad components- then also do ica.apply(noise_data). Just make sure that you prefilter your noise and neurophys data the same. You can also save out the ica for later use - the documentation is on the MNE site, but I think its just ica.save.

And from your question - I don’t think that just removing the same number of components is equivalent.

Good luck.

–Jeff

1 Like