Skip to main content

:py:mod:`pysampled` provides tools for working with uniformly sampled (time series) data.

Reason this release was yanked:

download-airpls not working

Project description

pysampled

src PyPI - Version Documentation Status GitHub license

A toolkit for working with uniformly sampled time series data.

pysampled streamlines the exploration of time series data and the development of signal processing pipelines. It enables researchers and engineers to analyze time series data—including audio signals and physiological data—efficiently and intuitively. With its user-friendly interface and well-documented examples, the package makes signal processing accessible for both basic manipulations and analyses like filtering, resampling, trend extraction, and spectral analysis.

Installation

1. Installing from PyPI (Recommended)

pip install pysampled && download-airpls

You can optionally use pip install pysampled[minimal] to skip installing scikit-learn and matplotlib.

Note: The download-airpls command is defined in pyproject.toml and ensures that the required airPLS.py file is properly downloaded. More information on airPLS here.

2. Installing from the GitHub Repository

pip install git+https://github.com/praneethnamburi/pysampled.git && download-airpls

Alternatively, you can clone the repository locally and set up your environment using the requirements.yml file. If you do this, download airPLS.py manually from here and add it to the pysampled folder inside the cloned repository.

git clone https://github.com/praneethnamburi/pysampled.git
cd pysampled
conda env create -n pysampled -f requirements.yml

Quickstart

import pysampled as sampled

# Generate a 10 Hz signal sampled at 100 Hz. Sum of three sine waves (1, 3, and 5 Hz).
sig = sampled.generate_signal("three_sine_waves")[:5.0] 

# Only keep first 5 seconds of the signal
sig = sig[:5.0]

# visualize the signal, before and after applying a bandpass filter between 2 and 4 Hz
sampled.plot([sig, sig.bandpass(2, 4)])

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Praneeth Namburi

Project Link: https://github.com/praneethnamburi/pysampled

Acknowledgments

This tool was developed as part of the ImmersionToolbox initiative at the MIT.nano Immersion Lab. Thanks to NCSOFT for supporting this initiative.

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

pysampled-1.0.0.tar.gz (314.1 kB view details)

Uploaded Source

Built Distribution

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

pysampled-1.0.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file pysampled-1.0.0.tar.gz.

File metadata

  • Download URL: pysampled-1.0.0.tar.gz
  • Upload date:
  • Size: 314.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for pysampled-1.0.0.tar.gz
Algorithm Hash digest
SHA256 600a4dedfd5e4aa2692b5f1be9137dc5303b31a85d10c35df3309843d0412e04
MD5 a20706e0c77747d7ef0989f7bacb0da7
BLAKE2b-256 ac2975296ee29e7902c2b0368bc6714b223b01e58d5ed1e64eae58ba60e0ec31

See more details on using hashes here.

File details

Details for the file pysampled-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pysampled-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for pysampled-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23233a0e46b54dec383759771c1954390e0f817597f8ad03670ad2e652e8c1b4
MD5 c57d17f587c4cdfaeedd83df808b9d50
BLAKE2b-256 70e0adda0cbac5033b020d41e635e8f2c9aef214873245b1795921a4ef920f05

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