def _merge_grad_data(data):
    """Merge data from channel pairs using the RMS

    Parameters
    ----------
    data : array, shape = (n_channels, n_times)
        Data for channels, ordered in pairs.

    Returns
    -------
    data : array, shape = (n_channels / 2, n_times)
        The root mean square for each pair.
    """
    data = data.reshape((len(data) // 2, 2, -1))
    data = np.sqrt(2 / np.sum(data ** 2, axis=1))
    return data
dataset/ETHPy150Open mne-tools/mne-python/mne/channels/layout.py/_merge_grad_data/swapped operands of `/`