Ellipsinator
Tools for working with ellipses in Python.
Installation
Should be an easy pip install:
pip install ellipsinator
Usage
To fit an ellipse:
from ellipsinator import fit_ellipse_halir
c = fit_ellipse_halir(x, y)
from ellipsinator import fit_ellipse_fitzgibon
c = fit_ellipse_fitzgibon(x, y)
from ellipsinator import fast_guaranteed_ellipse_estimate
c = fast_guaranteed_ellipse_estimate(x, y)
You can also pass in the measured points as a complex number, x + 1j*y:
from ellipsinator import fit_ellipse_halir
c = fit_ellipse_halir(x)
Fitting multiple ellipses simultaneously is also possible with fit_ellipse_halir and fast_guaranteed_ellipse_estimate:
assert x.shape == (num_ellipses, num_pts)
assert y.shape == (num_ellipses, num_pts)
c1 = fit_ellipse_halir(x, y)
c2 = fast_guaranteed_ellipse_estimate(x, y)
assert c1.shape == (num_ellipses, 6)
assert c2.shape == (num_ellipses, 6)
Metadata
Release files for ellipsinator 0.3.0
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 |
|---|---|---|---|---|
| ellipsinator-0.3.0.tar.gz | 19.9 kB | Without provenance | Details for ellipsinator-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ellipsinator-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ellipsinator-0.3.0-py2.py3-none-any.whl |
Total release size: 46.3 kB
Release files / ellipsinator-0.3.0.tar.gz
| Download URL | ellipsinator-0.3.0.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
134bb932e0d34df5dd95192eed3c68c4690d1b30ecd51a49a7d15d8a147cc2a6
|
|
BLAKE2b-256 checksum How to use checksums |
a5358015241c15970aac8d16242dae15a74fa116679d5b606e36a6c211b7c431
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / ellipsinator-0.3.0-py2.py3-none-any.whl
| Download URL | ellipsinator-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ad49e2635b15b8bd521562c8bfb9ce1da5f24b508a8e2c91c96398321e23a68f
|
|
BLAKE2b-256 checksum How to use checksums |
5e57283ffc6fdb244a5c8ab571211046cb80246f763fe378c062a9904a1fbb32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for ellipsinator 0.3.0
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.