[Mne_analysis] TFR Multitaper on Raw Data

JR KING jeanremi.king at gmail.com
Mon Dec 4 18:39:29 EST 2017
Search archives:

Hi Alex,

You can do:

# retrieve data as numpy array:
raw_array = raw.load_data().pick_channels([picked_channel,]).get_data()

# apply time frequency decomposition:
freqs = np.logspace(0, 1, 10)
sfreq = raw.info['sfreq']
tfr = mne.time_frequency.tfr_array_multitaper([raw_array], sfreq=sfreq,
freqs=freqs)

Best,

Jean-Rémi

On 4 December 2017 at 18:30, Rockhill, Alexander P. <
AROCKHILL at mgh.harvard.edu> wrote:

> Hi all,
>
>     Is there a way or best way to apply the tfr multitaper to an entire
> raw channel?
>
> Thanks,
>
> Alex
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171204/570c69b1/attachment.html 


More information about the Mne_analysis mailing list