A lightweight toolkit for numerical transformations
Project description
transix
transix is a lightweight toolkit for numerical transformations.
It provides clean, reusable, and well-tested building blocks for working with numerical transforms, with an emphasis on clarity, correctness, and vectorized usage.
Installation
You can install this package using pip install transix
Example: Numerical Transform
import numpy as np
import transix
a = 1 + 0j
b = np.exp(-1j * 2*np.pi/3)
c = np.exp( 1j * 2*np.pi/3)
seq = transix.abc_to_seq(a, b, c)
a0, b0, c0 = seq.zero
a1, b1, c1 = seq.pos
a2, b2, c2 = seq.neg
The API works equally well with NumPy arrays (time-series or batch data).
Testing
All transforms are validated using physics- and identity-based tests.
pytest
Roadmap
Planned additions include:
- Clarke transforms
- Park transforms
- Inverse transforms
- Expanded documentation and examples
Contributing
Issues and pull requests are welcome.
If you find a bug, have a question, or want to add a transformation, please open an issue on GitHub.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file transix-0.0.1.tar.gz.
File metadata
- Download URL: transix-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66bd06ad34808c70a932fdb9b541c6a49faf051a2aa65ade1b686e84eb9d89ed
|
|
| MD5 |
5c941a55e4597a308319ad4c9fc9b373
|
|
| BLAKE2b-256 |
09004578d537938fee0d27532b322db0316297c1d819ba964e407fa4614a5503
|
File details
Details for the file transix-0.0.1-py3-none-any.whl.
File metadata
- Download URL: transix-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2beebf3fd9e4025cc827f0052efe856c838ded1de6c3dc7fa5fd032785fba1ab
|
|
| MD5 |
a3d12ca5ace8a2c3fe5b6dc4f72d4bf5
|
|
| BLAKE2b-256 |
8234369a5ef281c7b5c2d7bb82d4a0522eeae91fc5bf9521b88e7edd1e4a65e0
|