Creating sEEG bipolar montage

Hi

I'm using datasets that have one or more stereotactic EEG electrodes, named
for example B1, B2, B3, etc, and one of the typical parts of our workflow
is to form a bipolar montage ("B1-B2", "B2-B3", ..)

Right now I do it by hand by manipulating the `_data` and `info`
attributes, but I'm wondering if there's a mne-idiomatic way to do it? For
example, specifying references for each channel, projection, etc.

Thanks,
Marmaduke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140115/49e7f9c8/attachment.html

Hi Marmaduke,

We're planning to add functions for creation of custom raw and info
objects in the near future. Currently, the `idomatic` way would be to
subclass 'Raw' and add the custom manipulation / creation of 'info'
and '_data' to the constructor of the subclass, in other words do what
you described, hidden inside a new class constructor.

I'd suggest to discuss details in this issue:

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

the more use case reports and requests we get the better.

Best.
Denis