<div dir="ltr">Hi Laetitia I would simply source localize epochs and compute the Welch on the output. I happen to write some code for this right now, I&#39;m happy to share it with you. We can then make a PR to MNE. Currently the API there does not seam to support this yet.<div>Denis</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 7, 2016 at 3:55 PM Laetitia Grabot &lt;<a href="mailto:laetitia.grabot@gmail.com">laetitia.grabot@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Dear MNE-users,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I would like to compute PSD in source space using Welch&#39;s method. I did not find how to do it with the currently implemented functions: </div><div class="gmail_msg">- compute_source_psd is doing it but from raw file, yet I&#39;ld like to perform the analysis only on some parts of epochs,</div><div class="gmail_msg">- compute_source_psd_epochs is using multitaper,</div><div class="gmail_msg">- psd_welch had epochs/evoked instances as argument and not source data</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">How could I do it?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks a lot,</div><div class="gmail_msg">Best,</div><div class="gmail_msg">Laetitia G.</div></div>
_______________________________________________<br class="gmail_msg">
Mne_analysis mailing list<br class="gmail_msg">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" class="gmail_msg" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br class="gmail_msg">
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
The information in this e-mail is intended only for the person to whom it is<br class="gmail_msg">
addressed. If you believe this e-mail was sent to you in error and the e-mail<br class="gmail_msg">
contains patient information, please contact the Partners Compliance HelpLine at<br class="gmail_msg">
<a href="http://www.partners.org/complianceline" rel="noreferrer" class="gmail_msg" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br class="gmail_msg">
but does not contain patient information, please contact the sender and properly<br class="gmail_msg">
dispose of the e-mail.<br class="gmail_msg">
</blockquote></div>