Skip to main content

A Topological Signal Processing Package

Project description

Description

The emerging field of topological signal processing brings methods from Topological Data Analysis (TDA) to create new tools for signal processing by incorporating aspects of shape. This python package, teaspoon for tsp or topological signal processing, brings together available software for computing persistent homology, the main workhorse of TDA, with modules that expand the functionality of teaspoon as a state-of-the-art topological signal processing tool. These modules include methods for incorporating tools from machine learning, complex networks, information, and parameter selection along with a dynamical systems library to streamline the creation and benchmarking of new methods. All code is open source with up to date documentation, making the code easy to use, in particular for signal processing experts with limited experience in topological methods.

Full documentation of this package is available here. The full documentation includes information about installation, module documentation with examples, contributing, the license, and citing teaspoon.

The code is a compilation of work done by Elizabeth Munch and Firas Khasawneh along with their students and collaborators. People who have contributed to teaspoon include:

We gratefully acknowledge the support of the National Science Foundation, which has helped make this work possible.

About TSP

The basic pipeline of a TSP project aligned with the modules of teaspoon.

Many topological signal processing projects can be fit into the pipeline shown above; and this pipeline aligns with the five submodules of teaspoon. We start with input time series data. In teaspoon, the MakeData module provides methods for creating synthetic data sets for testing purposes, including the DynSysLib submodule with an extensive array of dynamical systems. The ParameterSelection modules provides tools for determining best parameters for transforming the time series into a delay coordinate (sometimes called Takens') embedding. This includes standard tools such as false nearest neighbors and mutual information function as well as newly developed tools. The Signal Processing SP module does the conversion from a time series to a topological input. This includes the standard delay coordinate embedding, as well as network representations of time series. This topological input can be converted to a topological signature, in most cases a persistence diagram, using the Topological Data Analysis TDA module. Finally, these persistence diagrams can be used in a machine learning pipeline using the vectorization tools from the Machine Learning ML module.

Installation

To install this package, both boost and CMake must be installed as system dependencies. For boost see for unix and windows. For mac, you can run brew install boost if using homebrew as a package manager. For CMake see here.

The teaspoon package is available through pip install with version details found here. The package can be installed using the following pip installation:

pip install teaspoon

To install the most up-to-date version of the code, you can clone the repo and then run

pip install .

from the main directory. Note that the master branch will correspond to the version available in pypi, and the test_release branch may have new features.

Please reference the requirements page in the documentation for more details on other required installations.

Contacts

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

teaspoon-1.5.30.tar.gz (10.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teaspoon-1.5.30-py3-none-any.whl (10.7 MB view details)

Uploaded Python 3

File details

Details for the file teaspoon-1.5.30.tar.gz.

File metadata

  • Download URL: teaspoon-1.5.30.tar.gz
  • Upload date:
  • Size: 10.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for teaspoon-1.5.30.tar.gz
Algorithm Hash digest
SHA256 badf7ff17bd2cf52550c46a033f467236675e7d5614e548b0390052425ef9632
MD5 adb8baf15e890c982f697c33fa181916
BLAKE2b-256 80fdf720196cac4ef5958828a39a6d26ab868c790a3da111adc1ce0acb368a3d

See more details on using hashes here.

File details

Details for the file teaspoon-1.5.30-py3-none-any.whl.

File metadata

  • Download URL: teaspoon-1.5.30-py3-none-any.whl
  • Upload date:
  • Size: 10.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for teaspoon-1.5.30-py3-none-any.whl
Algorithm Hash digest
SHA256 54cf89d516b07996b934d2a1da41bbf3d4031483f6d3d90b93b66227ea36f227
MD5 8dc5df3ba67872af2e9067663ffce840
BLAKE2b-256 7acd201f4b27178ba4639e4c3ae4fc1b9e60f598d88cc8b4e00a0f9a1e12af5b

See more details on using hashes here.

Supported by

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