potentially a stupid question, but I don’t think there’s a current implementation in mne for this. Is there a quick way of subtracting activity in one hemisphere from the other, per time point? e.g. after this, PO8 wouldn’t be PO8, but would be PO8-PO7, and vice versa.
the tl;dr is that currently im just making a duplicate object, reordering channels, subtracting their data objects and reassigning, but not sure if this is the best
tfr = mne.time_frequency.read_tfrs(fname); tfr = tfr[0] #it reads in a list of tfr objects idk why
tmp = tfr.copy()
chs = [ ... ] # long list of channel names
chs_flipped = [ ... ] #manually reorder to have it flipped around z-line
tmp = tmp.copy().reorder_channels(chs_flipped)
tmp2 = np.subtract(tfr.copy().data, tmp.copy().data)
tf_flipped = tfr.copy() #creates EpochsTFR object with original info
tf_flipped.data = tmp2 #assign subtracted data
it’s possibly the best to be done at the moment, but wasn’t sure if there was a less cumbersome way of doing it