derived channel in python

Hi, MNEers,

I know I can create derived channels in the compile version using
mne_make_derivations. I am just wondering if there's a way to make derived
channels in MNE python. I searched the mailinglist and didn't find anything.

Thanks!

Best
Le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141212/56dbabb9/attachment.html

hi,

it's on the way for MNE-Python:

https://github.com/mne-tools/mne-python/pull/1670

you can try the PR or just wait a few more days :slight_smile:

Alex

Thanks for the reply, Alex!

The post in your link seems to be talking about re-referencing, which is
also a nice feature to include. But what I was thinking about was to take
the difference between a pair of channels (to get the saccade signal, for
example) and do some further processing (ie., saccade detection) with the
derived signal. I guess I can always do that using a separate numpy array,
but it seems more elegant to be able to save the derived signal in the raw
object as a derived channel.

Is this something a work in progress?

Thanks again!

Le

Hi,

2014-12-13 0:22 GMT+01:00 Le Wang <lwang at bu.edu>:

Thanks for the reply, Alex!

The post in your link seems to be talking about re-referencing, which is
also a nice feature to include.

Maybe some terminological problem

But what I was thinking about was to take the difference between a pair of
channels (to get the saccade signal, for example) and do some further
processing (ie., saccade detection) with the derived signal. I guess I can
always do that using a separate numpy array, but it seems more elegant to
be able to save the derived signal in the raw object as a derived channel.

I think this exact use case gave rise to PR #1670

If I'm not mistaken this should allow you to do exactly what you described.

HTH,
Denis

Is this something a work in progress?

Thanks again!

Le

hi,

it's on the way for MNE-Python:

Add more referencing options by wmvanvliet · Pull Request #1670 · mne-tools/mne-python · GitHub

you can try the PR or just wait a few more days :slight_smile:

Alex

> Hi, MNEers,
>
> I know I can create derived channels in the compile version using
> mne_make_derivations. I am just wondering if there's a way to make
derived
> channels in MNE python. I searched the mailinglist and didn't find
anything.
>
> Thanks!
>
> Best
> Le
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> Mne_analysis Info Page
>
>
> 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 . 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

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

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 . 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/20141213/52f0094c/attachment.html

Hi, Denis,

Thanks a lot for the confirmation. I will try the PR and hopefully it'll
solve my problem.

Le