ellipsinator-0.2.1
توضیحات
Ellipse tools for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ellipsinator-0.2.1 |
| نام | ellipsinator |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nicholas McKibben |
| ایمیل نویسنده | nicholas.bgp@gmail.com |
| آدرس صفحه اصلی | https://github.com/mckib2/ellipsinator |
| آدرس اینترنتی | https://pypi.org/project/ellipsinator/ |
| مجوز | GPLv3 |
Ellipsinator
============
Tools for working with ellipses in Python.
Installation
============
Should be an easy pip install:
.. code-block:: bash
pip install ellipsinator
Usage
=====
To fit an ellipse:
.. code-block:: python
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`:
.. code-block:: python
from ellipsinator import fit_ellipse_halir
c = fit_ellipse_halir(x)
The only function that supports fitting multiple ellipses
simultaneously is `fit_ellipse_halir`:
.. code-block:: python
assert x.shape == (num_ellipses, num_pts)
assert y.shape == (num_ellipses, num_pts)
c = fit_ellipse_halir(x, y)
نیازمندی
| مقدار | نام |
|---|---|
| >=1.19.1 | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl ellipsinator-0.2.1:
pip install ellipsinator-0.2.1.whl
نصب پکیج tar.gz ellipsinator-0.2.1:
pip install ellipsinator-0.2.1.tar.gz