Skip to main content

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

Metadata

Release files for teaspoon 1.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teaspoon 1.6.3
File Size Uploaded Provenance Actions
teaspoon-1.6.3.tar.gz 10.5 MB Without provenance Details for teaspoon-1.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teaspoon 1.6.3
File Interpreter ABI Platform Actions
teaspoon-1.6.3-py3-none-any.whl Python 3 none any Details for teaspoon-1.6.3-py3-none-any.whl

Total release size: 21.2 MB

Release files / teaspoon-1.6.3.tar.gz

Download URL teaspoon-1.6.3.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
bca05856050546b39eec732599353c70f9caafbd397412f6877fbbe6b3e35dac
BLAKE2b-256 checksum
How to use checksums
d7d76657917c68581189fc7aa0b269ed6583bb69de7baf09134d4d0f4b10e79b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / teaspoon-1.6.3-py3-none-any.whl

Download URL teaspoon-1.6.3-py3-none-any.whl
Size 10.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4363c4d439f5bfe9c65d9566e4590bce74181acf41a691d7808604a9a98463ed
BLAKE2b-256 checksum
How to use checksums
d442b161dc27a68cdd625f1b9e97cba8cd5820ac5f6c42351fcf279ce9b58ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for teaspoon 1.6.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.6.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page