SpharaPy: A Python toolbox for spatial harmonic analysis of non-uniformly sampled data

Uwe Graichen*, Roland Eichardt, Jens Haueisen

*Corresponding author for this work

Research output: Journal article (peer-reviewed)Journal article

2 Citations (Scopus)


SpharaPy is a Python implementation of a new approach for spatial harmonic analysis (SPHARA). SPHARA extends the classical spatial Fourier analysis to non-uniformly positioned samples on arbitrary surfaces in R3. The basis functions (BF) used by SPHARA are determined by the eigenanalysis of the discrete Laplace–Beltrami operator, which is defined on a triangular mesh specified by the spatial sampling points. The SpharaPy Python toolbox provides classes and functions to compute the SPHARA BF for data analysis and synthesis as well as classes to design and apply spatial filters. An illustrative example of applying the SpharaPy package in the field of biosignal processing using electroencephalography data is presented.

Original languageEnglish
Article number100289
Publication statusPublished - 01 Jul 2019
Externally publishedYes


  • EEG Data Processing
  • Eigenanalysis of the discrete Laplace–Beltrami operator
  • Generalized spatial Fourier analysis
  • Online filtering
  • Spatial filtering
  • Spatial harmonic analysis

ASJC Scopus subject areas

  • Software
  • Computer Science Applications


Dive into the research topics of 'SpharaPy: A Python toolbox for spatial harmonic analysis of non-uniformly sampled data'. Together they form a unique fingerprint.

Cite this