[Mne_analysis] Compute source power spectral density (PSD) in a label

Vivek Sharma vivek.sharma1510 at gmail.com
Wed Dec 25 15:38:11 EST 2019
Search archives:

        External Email - Use Caution        

Hi,
In the following example
(
https://mne.tools/stable/auto_examples/time_frequency/plot_source_power_spectrum.html
)
why are we multiplying stc.times and stc.data.T by 1e3?

Secondly, I would like to bring it to notice that in the same example the
plot that is being obtained shows frequency as 10000, 20000, etc. and the
unit is represented as Hz which I believe is wrong as it should be
millihertz.
I try to keep the frequency in Hz by making the following change in the
code.
plt.plot(stc.times, (1e3 * stc.data.T))
is the change valid?

-- 
Vivek Sharma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191226/fcdc1bc1/attachment.html 


More information about the Mne_analysis mailing list