signal_composer
Library for composing signals from arrays and functions.
Usage
Creating Signals
From interpolated arrays
signal = Signal([1, 0, 1, -1, 1])
From functions
f = lambda x: x ** 3 - x ** 2
signal = Signal(f)
f = lambda x: x ** 3 - x ** 2
signal = Signal(f, function_input_span=[0, 1 + 0.25])
Composing Signals
From adding signals
signal_1 = Signal([0, 1])
signal_2 = Signal(lambda x: 1 + x ** 3)
composed_signal = signal_1 + signal_2
From lists
signals = [
lambda x: x ** 2,
[-1, 0, 1],
lambda x: 4 + x ** (1/2)
]
composed_signal = Signal.compose_from_list(signals)
How to install
Option 1: Manually
Clone the GitHub repo and install manually by passing
gh repo clone danlessa/signal_composer
cd signal_composer
pip install -e .
Option 2: PyPi
Just pass:
pip install signal_composer
Metadata
Release files for signal-composer 0.0.2
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 | |
|---|---|---|---|---|
| signal_composer-0.0.2.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| signal_composer-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / signal_composer-0.0.2.tar.gz
| Download URL | signal_composer-0.0.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bdd5770e25f7897571fb9df3cf5f6db761828102b9edf12ab3d333b3a790516
|
|
BLAKE2b-256 checksum How to use checksums |
fb3bd19ab0427c4be16b9a5876e9804336c232776b07ad54e95bbc15b851bb8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.5
|
Release files / signal_composer-0.0.2-py3-none-any.whl
| Download URL | signal_composer-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3be8dc74fe4aae95e16a2614d66fa641411269214ba5b917d7ccc6d346d551d7
|
|
BLAKE2b-256 checksum How to use checksums |
7276ea94a04e2084a464a98ba07f5fab8723898454acaff5723677aa95bea285
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.5
|
Security for signal-composer 0.0.2
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.