butter
Python implementation of the digital butterworth IIR filter
Dependencies
numpy – used for its math modules and fast array calculations
numba – used to increase calculation speed
Basic Usage
Importing the Butter module:
from butterworth import Butter
Creating the Butter instance for a lowpass butterworth filter with cutoff frequency 1000Hz and rolloff frequency 48Hz for data taken with sampling frequency 44100:
filter_ = Butter(btype="Lowpass", cutoff=1000, rolloff=48, sampling=44100)
Sending sample data into filter and retrieving the filtered data:
data=[1.0, -2.0, 3.0, . . . .] filtered_data = filter_.send(data)
Retrieving forward-backward filtered data for the accumulated data:
data1=[1.0, -2.0, 3.0, . . . .] filtered_data = filter_.send(data1) data2=[-1.0, 2.0, -3.0, . . . .] more_filtered_data = filter_.send(data2) forward_backwards_filtered_data = filter_.filtfilt()
Metadata
Release files for butterworth 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| butterworth-0.0.3.tar.gz | 13.0 kB | Without provenance | Details for butterworth-0.0.3.tar.gz |
Release files / butterworth-0.0.3.tar.gz
| Download URL | butterworth-0.0.3.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
606e9e4dff546af048062b8eafc3211682b4f3614f5a1738ba67ebcff6c43326
|
|
BLAKE2b-256 checksum How to use checksums |
a821b2b973665c5585a1d9870359ca6f45cc4f67cab0f94671fd4c29f55bc72a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for butterworth 0.0.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.