[Mne_analysis] Simulate activity in subcortical structures using MNE python?

Lori Sanfratello lsanfratello at mrn.org
Mon Oct 23 17:39:45 EDT 2017
Search archives:

Hi Alex, thanks, I do have that part worked out. I have everything set up
(mixed source space, fwd, inv, labels) and was trying to use:

stc = simulate_sparse_stc(fwd['src'], n_dipoles=1, times=times,
labels=label_ts[0][69, :])


  and get the error message:

  File
"/export/mialab/users/lsanfratello/python_anaconda/anaconda2/lib/python2.7/site-packages/mne/simulation/source.py",
line 73, in select_source_in_label
    if label.hemi == 'lh':
AttributeError: 'numpy.float64' object has no attribute 'hemi'

Any chance there is a simple remedy?
Thanks,
Lori



On Sun, Oct 22, 2017 at 9:29 AM, Alexandre Gramfort <
alexandre.gramfort at inria.fr> wrote:

> hi Lori,
>
> yes it should be possible but there is no such example.
>
> a good place to start is:
>
> https://martinos.org/mne/stable/auto_examples/inverse/
> plot_mixed_source_space_inverse.html
>
> to make a source space
>
> then you need to simulate.
>
> sorry I don't have enough time to help you more right now
>
> Alex
>
> On Thu, Oct 19, 2017 at 12:44 AM, Lori Sanfratello <lsanfratello at mrn.org>
> wrote:
>
>> Hello, I would like to simulate activity in amygdala using MNE.  I have
>> not been able to find a method to do this in the documentation.  Is this
>> possible at this time?
>> Many thanks,
>> Lori
>>
>> --
>> Dr. L. Sanfratello, PhD
>> Assistant Professor of Trans. Neuroscience
>> The Mind Research Network,
>> 1101 Yale Blvd NE
>> Albuquerque, NM 87106
>> 505 272-5557 <(505)%20272-5557>
>>
>> _______________________________________________
>> 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
>
>
> 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.
>
>


-- 
Dr. L. Sanfratello, PhD
Assistant Professor of Trans. Neuroscience
The Mind Research Network,
1101 Yale Blvd NE
Albuquerque, NM 87106
505 272-5557
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171023/fb043502/attachment.html 


More information about the Mne_analysis mailing list