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
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
- Liz Munch: muncheli@msu.edu
- Firas Khasawneh: khasawn3@egr.msu.edu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file teaspoon-1.5.17.tar.gz
.
File metadata
- Download URL: teaspoon-1.5.17.tar.gz
- Upload date:
- Size: 10.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3a7555c88c66a5c538d1ce670a592f1ea5070df38bed163d2b7b13866f9b84 |
|
MD5 | f181710f757fc21497595ecd3e568b04 |
|
BLAKE2b-256 | 4f5a82681e6283ed9856ed71197b70f4871f36454fd5b4601542664184a09c9d |
File details
Details for the file teaspoon-1.5.17-py3-none-any.whl
.
File metadata
- Download URL: teaspoon-1.5.17-py3-none-any.whl
- Upload date:
- Size: 10.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ebc893c4d64d3b77a90f78e396ce582698f058642c3a3846e6bd5cd0411c36 |
|
MD5 | 22469519295e7e79c0d6b87a2f7607ac |
|
BLAKE2b-256 | 5956be9ff85b083d99dd3f3edd76c267f700d54845e18daadcf0d4b399a0ff89 |