[Mne_analysis] Hilbert Transform for Time Frequency Analysis

Chris Holdgraf choldgraf at berkeley.edu
Wed Jul 5 09:24:50 EDT 2017
Search archives:

Just to clarify a bit - you can use the Hilbert transform for a TFR
representation by doing:

   1. Bandpass filter your data (e.g., raw.filter)
   2. Call apply_hilbert
      1. If envelope=False, the output will be complex, so you can grab
      either the phase or amplitude if you want
      2. If envelope=True, the output will be a float and represents the
      envelope of the signal (e.g. the “power” of a TFR)

​
-- 

On Tue, Jul 4, 2017 at 12:20 PM Alday, Phillip <Phillip.Alday at mpi.nl> wrote:

> The Raw class has a method "apply_hilbert()" that you can use, but
> you'll have to take care of bandpassing, iterating, etc. to get it the
> way you want it, something along the lines of the CSP example in the
> documentation (http://martinos.org/mne/dev/auto_examples/decoding/plot_
> decoding_csp_timefreq.html#sphx-glr-auto-examples-decoding-plot-
> <http://martinos.org/mne/dev/auto_examples/decoding/plot_decoding_csp_timefreq.html#sphx-glr-auto-examples-decoding-plot->
> decoding-csp-timefreq-py). The only "difficult" part is if you want the
> phase instead of the envelope/amplitude, in which case you'll have to
> do the phase transform yourself. (Maybe it's worthwhile to add a phase
> option to the method?)
>
> But done appropriately, you get the same answers with Hilbert, Fourier
> or wavelets (Bruns, J Neuroscience Methods 2004).
>
> Phillip
>
> On Tue, 2017-07-04 at 21:46 +0530, Aditya P Singh wrote:
> > Hi,
> >
> > I was wondering if there was anyway to do the time frequency analysis
> > like getting the power and building the tfr plots using the hilbert
> > transform instead of the morelet wavelets.
> >
> > Thank you,
> > Aditya Singh
> > Biomedical Engineer
> > UT Austin
> > _______________________________________________
> > 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.
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170705/ed8ecc5d/attachment-0001.html 


More information about the Mne_analysis mailing list