<div dir="ltr"><div>Hi Alex,</div><div><br></div><div>You can do:</div><div><br></div><div># retrieve data as numpy array:</div>raw_array = raw.load_data().pick_channels([picked_channel,]).get_data()<div><br></div><div># apply time frequency decomposition:</div><div>freqs = np.logspace(0, 1, 10)</div><div>sfreq = <a href="http://raw.info">raw.info</a>[&#39;sfreq&#39;]</div><div>tfr = mne.time_frequency.tfr_array_multitaper([raw_array], sfreq=sfreq, freqs=freqs)</div><div><br></div><div>Best,</div><div><br></div><div>Jean-Rémi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 December 2017 at 18:30, Rockhill, Alexander P. <span dir="ltr">&lt;<a href="mailto:AROCKHILL@mgh.harvard.edu" target="_blank">AROCKHILL@mgh.harvard.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi all,<br>
<br>
    Is there a way or best way to apply the tfr multitaper to an entire raw channel?<br>
<br>
Thanks,<br>
<br>
Alex<br>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.<wbr>edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.<wbr>edu/mailman/listinfo/mne_<wbr>analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>