I was wondering if there is an easy way to do an average over channels on a Raw or Epochs object. I've seen a few plotting functions with a "combine" parameter but is it possible to create a new Raw/Epochs object with combined channels (for example a new object with pseudo-channels representing ROIs)? I would like to avoid extracting a data array and doing it with NumPy if there is easier...
Alright, thank you. Is that something users would be interested in, and worth creating a GitHub issue for feature request? I personally would like to do such a thing to average channels by ROI before classification with fNIRS (in addition to having this for visualisation)... I can eventually work on an implementation, but as for now I'll keep doing this with get_data() and np.mean().