(self, X)
return out
Transpose and reshape EEG for extended covmat estimation
Transpose and reshape EEG for extended covmat estimation
Transpose and reshape EEG for extended covmat estimation
def transform(self, X):
        """Transpose and reshape EEG for extended covmat estimation"""
        out = X.transpose((0, 3, 1, 2))
        n_trials, n_freqs, n_channels, n_times = out.shape
        out = out.reshape((n_trials, n_channels * n_freqs, n_times))
        return out
def transform ( self , X ) : out = X . transpose ( ( 0 , 3 , 1 , 2 ) ) n_trials , n_freqs , n_channels , n_times = out . shape out = out . reshape ( ( n_trials , n_channels * n_freqs , n_times ) ) return out