Skip to main content

SpKit: Signal Processing ToolKit

Project description

Signal Processing toolkit

Links: Homepage | Documentation | Github | PyPi - project | _ Installation: pip install spkit

CircleCI Documentation Status License: MIT PyPI version PyPI pyversions GitHub release PyPI format PyPI implementation HitCount GitHub commit activity Percentage of issues still open PyPI download month PyPI download week

Generic badge Ask Me Anything !

PyPI - Downloads



Requirement: numpy, matplotlib, scipy.stats, scikit-learn, seaborn

with pip

pip install spkit

update with pip

pip install spkit --upgrade

New in

MEA Processing Toolkit

New in

MEA Processing Toolkit

  • sp.mea

Geometrical Functions

  • sp.gemetry

More on signal processing

  • sp.core


  • sp.stats

For updated list of contents and documentation check github or Documentation

List of all functions

Signal Processing Techniques

Information Theory functions

for real valued signals

  • Entropy

    • Shannon entropy
    • Rényi entropy of order α, Collision entropy,
    • Joint entropy
    • Conditional entropy
    • Mutual Information
    • Cross entropy
    • Kullback–Leibler divergence
    • Spectral Entropy
    • Approximate Entropy
    • Sample Entropy
    • Permutation Entropy
    • SVD Entropy
  • Plot histogram with optimal bin size

  • Computation of optimal bin size for histogram using FD-rule

  • Compute bin_width with various statistical measures

  • Plot Venn Diagram- joint distribuation and normalized entropy values

Dispersion Entropy --for time series (physiological signals)

  • Dispersion Entropy (Advanced) - for time series signal
    • Dispersion Entropy
    • Dispersion Entropy - multiscale
    • Dispersion Entropy - multiscale - refined

Matrix Decomposition

  • SVD
  • ICA using InfoMax, Extended-InfoMax, FastICA & Picard

Continuase Wavelet Transform

  • Gauss wavelet
  • Morlet wavelet
  • Gabor wavelet
  • Poisson wavelet
  • Maxican wavelet
  • Shannon wavelet

Discrete Wavelet Transform

  • Wavelet filtering
  • Wavelet Packet Analysis and Filtering

Basic Filtering

  • Removing DC/ Smoothing for multi-channel signals
  • Bandpass/Lowpass/Highpass/Bandreject filtering for multi-channel signals

Biomedical Signal Processing

MEA Processing Toolkit

Artifact Removal Algorithm

Analysis and Synthesis Models

  • DFT Analysis & Synthesis
  • STFT Analysis & Synthesis
  • Sinasodal Model - Analysis & Synthesis
    • to decompose a signal into sinasodal wave tracks
  • f0 detection

Ramanajum Methods for period estimation

  • Period estimation for a short length sequence using Ramanujam Filters Banks (RFB)
  • Minizing sparsity of periods

Fractional Fourier Transform

  • Fractional Fourier Transform
  • Fast Fractional Fourier Transform

Machine Learning models - with visualizations

  • Logistic Regression
  • Naive Bayes
  • Decision Trees
  • DeepNet (to be updated)

Linear Feedback Shift Register

  • pylfsr

Cite As

  author       = {Nikesh Bajaj},
  title        = {Nikeshbajaj/spkit:},
  month        = apr,
  year         = 2022,
  publisher    = {Zenodo},
  version      = {},
  doi          = {10.5281/zenodo.4710694},
  url          = {}


Imperial College London

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spkit- (1.6 MB view hashes)

Uploaded Source

Built Distribution

spkit- (1.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page