Hello,
I would like to source localize the TFRs using the method apply_inverse_tfr_epochs since I have already computed them at the sensor level using tfr_multitaper and saved them as epochsTFR. However, when trying to reload them and apply inverse, I’m getting an error, as
RuntimeError: Time-frequency data must be complex for source space estimation
MNE version: 1.4.2
operating system: Linux mint 19.3
How to make my epochsTFR as a complex data? Any helpful suggestions to overcome this hurdle?
Upon a quick glance, tfr_multitaper does not seem to support outputting a complex TFR result, only power (which is a real number). If it is an option for you, try tfr_morlet and set output="complex"
Hi @wmvanvliet ,
Yes, indeed tfr_morlet with output = "complex" works great for source localizing the epochsTRF using the method apply_inverse_tfr_epochs.