[Mne_analysis] compute_source_psd_epochs()

Vincent Rupp Jr. vincentruppjr at gmail.com
Tue Apr 2 13:25:24 EDT 2013
Search archives:

This is great help. Thanks Martin!


Best wishes,

Vincent Rupp Jr


On Tue, Apr 2, 2013 at 10:19 AM, Alexandre Gramfort <
gramfort at nmr.mgh.harvard.edu> wrote:

> hi Vincent,
>
> looks like your problem is fixed. Thanks Martin.
>
> https://github.com/mne-tools/mne-python/pull/550
>
> Best,
> Alex
>
> On Tue, Apr 2, 2013 at 7:13 PM, Martin Luessi
> <mluessi at nmr.mgh.harvard.edu> wrote:
> > Hi Vincent,
> >
> > You are correct, the loaded label isn't used at all. It must be a "copy
> > paste artifact" from when the example was created.
> >
> > To your question, if you want to use multiple labels, you can just
> > combine them using "+", e.g.,
> >
> > label_both = label_lh + label_rh
> >
> > and then pass label_both to compute_source_psd_epochs using the label
> > parameter. The resulting SourceEstimate will contain the PSD for all
> > labels (the union of all the source space vertices in the labels). Let
> > me know if you need help splitting the data into the labels again (it's
> > a few lines of Python code).
> >
> > I hope this helps.
> >
> > Martin
> >
> > On 04/02/13 12:47, Vincent Rupp Jr. wrote:
> >> Greetings,
> >>
> >> There is an example script called "Compute Power Spectral Density of
> >> inverse solution from single epochs" at
> >>
> http://martinos.org/mne/auto_examples/time_frequency/plot_compute_source_psd_epochs.html#example-time-frequency-plot-compute-source-psd-epochs-py
> .
> >>
> >>
> >> I noticed that after defining and loading the label into memory, it is
> >> never mentioned again. Line #60 of the script says "compute source space
> >> psd in label" and involves calling the compute_source_psd_epochs()
> >> function, but the label variable is never passed into it as an argument.
> >> Does this function automatically seek a previously defined variable
> >> called label? Are there any options for what labels, how many labels,
> >> etc., can be fed into it?
> >>
> >> I want to load a label like lh.BA45.label, but I want it to perform the
> >> psd computations on /both/ hemispheres. So far it seems like you can
> >> only load one hemisphere at a time.
> >>
> >>
> >> Best wishes,
> >>
> >> Vincent Rupp Jr
> >>
> >>
> >> _______________________________________________
> >> Mne_analysis mailing list
> >> Mne_analysis at nmr.mgh.harvard.edu
> >> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
> >>
> >
> >
> > --
> > Martin Luessi, Ph.D.
> >
> > Research Fellow
> >
> > Department of Radiology
> > Athinoula A. Martinos Center for Biomedical Imaging
> > Massachusetts General Hospital
> > Harvard Medical School
> > 149 13th Street
> > Charlestown, MA 02129
> >
> > Fax: +1 617 726-7422
> > _______________________________________________
> > 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/20130402/7a40cbf3/attachment.html 


More information about the Mne_analysis mailing list