Why not use the epochs iterator. That would be the most efficient solution, right?

```Python

for epoch in epochs:
    csp_data[i,:,:] = np.dot(self.csp_filters, epoch)
```