robust averaging?

Hello,

Apologies if I have overlooked the relevant information, but am I correct in thinking that there is currently no function for robust averaging in MNE python? If that's the case I was wondering if there are any plans that such a function might be available for use in the (near) future?

Many thanks,

Lucy MacGregor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160314/31ceab6c/attachment.html

Hi Lucy,

I don't think it's implemented yet.

I wrote this function, in case it helps:

https://github.com/kingjr/jr-tools/blob/master/jr/stats/base.py#L255

Feel free to adapt it for a PR on the MNE github repository.

JR

Hello,

Many thanks for getting back to me with this.

Best wishes,

Lucy

hi Lucy,

note that this will behave differently than the SPM robust averaging
but it could do the job for you.

If there is some interest to support robust averaging the way SPM does it
its doable.

Alex

Hi Alex,

Thanks for the reply and for pointing this out. My (basic) understanding of the way it works is from SPM; the SPM way is indeed what I was hoping to do and thus I would be very interested in an equivalent MNE function.

Best,

Lucy

hi,

I created an issue so we don't forget

https://github.com/mne-tools/mne-python/issues/3044

Alex