How to plot ICA component properties in log-log scale

  • MNE version: 0.24.1
  • operating system: 4.19.0-16-amd64

I am trying to plot ICA component property to detect artifact using mne.preprocessing.ICA.plot_properties

From old tutorial (Removing muscle ICA components — MNE 1.1.dev0 documentation), it is suggested that we could plot power spectrum with log-log scale which will be helpful to detect muscle artifact. May I get some suggestion about how to plot power spectrum with log-log scale?

Another related question: I notiecd new mne.preprocessing.ICA.plot_properties delete the argument of lot_scale which I assume could be helpful too. May I ask is there another way that we could power spectrum with log scale?

Thanks a lot for helping!

Hello @Golearner and welcome to the forum!

You’re mistaken in assuming the example you saw was “old”. In fact, it’s making use of a feature that’s currently only present in the development version of MNE-Python, and will be part of the 1.1 release which hopefully should happen within the next couple of weeks.

Best wishes,
Richard

1 Like

Hello @richard,

Sorry I misunderstood it. Great to know it will be include in 1.1 and 1.1 will release soon. Thanks!

1 Like