# mne\_average\_estimates

**URL:** <https://mne.discourse.group/t/mne-average-estimates/826>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [September 23, 2014, 2:23pm UTC](https://mne.discourse.group/t/mne-average-estimates/826 "2014-09-23T14:23:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [September 23, 2014, 2:23pm UTC](https://mne.discourse.group/t/mne-average-estimates/826/1 "2014-09-23T14:23:36Z")

</div>

Dear all,

In mne\_python, is there any function to have the same role as the MNE  
command 'mne\_average\_estimates'? Thanks

Best wishes,  
Qunxi Dong  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20140923/4c001d41/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140923/4c001d41/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [September 23, 2014, 3:32pm UTC](https://mne.discourse.group/t/mne-average-estimates/826/2 "2014-09-23T15:32:40Z")

</div>

Hi Qunxi,

Are the following recent messages relevant for you?

[https://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/2014-September/002481.html](https://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/2014-September/002481.html)  
[https://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/2014-September/002482.html](https://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/2014-September/002482.html)

Best,  
Steve

Stephen Politzer-Ahles  
New York University, Abu Dhabi  
Neuroscience of Language Lab  
[http://www.nyu.edu/projects/politzer-ahles/](http://www.nyu.edu/projects/politzer-ahles/)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [September 24, 2014, 7:09am UTC](https://mne.discourse.group/t/mne-average-estimates/826/3 "2014-09-24T07:09:29Z")

</div>

Thanks Stephen! Yes, I just want to get an average STC across different  
subjects' stcs in the common brain space 'fsaverage'.  
So I wander whether is it the same role as the MNE command  
'mne\_average\_estimates'.

stc\_avg = reduce(add, stcs)

Is 'add' a function like : stc1 + stc2+....?

Best wishes,  
Qunxi Dong

2014-09-23 17:32 GMT+02:00 Stephen Politzer-Ahles \<spa268 at nyu.edu\>:

> Hi Qunxi,
> 
> Are the following recent messages relevant for you?
> 
> [[Mne\_analysis] Grand average of evoked files?](https://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/2014-September/002481.html)
> 
> [[Mne\_analysis] Grand average of evoked files?](https://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/2014-September/002482.html)
> 
> Best,  
> Steve
> 
> Stephen Politzer-Ahles  
> New York University, Abu Dhabi  
> Neuroscience of Language Lab  
> [http://www.nyu.edu/projects/politzer-ahles/](http://www.nyu.edu/projects/politzer-ahles/)
> 
> > Dear all,
> > 
> > In mne\_python, is there any function to have the same role as the MNE  
> > command 'mne\_average\_estimates'? Thanks
> > 
> > Best wishes,  
> > Qunxi Dong
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Mne\_analysis mailing list  
> > Mne\_analysis at nmr.mgh.harvard.edu  
> > [Mne\_analysis Info Page](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  
> > [MyComplianceReport.com: Compliance and Ethics Reporting](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  
> [Mne\_analysis Info Page](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  
> [MyComplianceReport.com: Compliance and Ethics Reporting](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/20140924/57331175/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140924/57331175/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [September 24, 2014, 11:18am UTC](https://mne.discourse.group/t/mne-average-estimates/826/4 "2014-09-24T11:18:49Z")

</div>

> Thanks Stephen! Yes, I just want to get an average STC across different  
> subjects' stcs in the common brain space 'fsaverage'.  
> So I wander whether is it the same role as the MNE command  
> 'mne\_average\_estimates'.
> 
> stc\_avg = reduce(add, stcs)
> 
> Is 'add' a function like : stc1 + stc2+....?

yes exactly. Divide by len(stcs) to have the average stc.

A
