This function applies the surface laplacian transform to an mne Epochs object. The algorithm follows the formulations of Perrin et al. (1989) and it consists for the most part in a nearly-literal translation of Mike X Cohen's 'Analyzing neural time series data' corresponding MATLAB code (2014).
References:
- Perrin, F., Pernier, J., Bertrand, O. & Echallier, J.F. (1989). Spherical splines for scalp potential and current density mapping. Electroencephalography and clinical Neurophysiology, 72, 184-187.
- Cohen, M.X. (2014). Surface Laplacian In Analyzing neural time series data: theory and practice (pp. 275-290). London, England: The MIT Press.