fiblat-0.3.3
توضیحات
A package for generating evenly distributed points on a sphere
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fiblat-0.3.3 |
| نام | fiblat |
| نسخه کتابخانه | 0.3.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Erik Brinkman |
| ایمیل نویسنده | erik.brinkman@gmail.com |
| آدرس صفحه اصلی | https://github.com/erikbrinkman/fibonacci_lattice |
| آدرس اینترنتی | https://pypi.org/project/fiblat/ |
| مجوز | MIT |
Fibonacci Lattice
=================
[](https://pypi.org/project/fiblat/)
[](https://github.com/erikbrinkman/fibonacci_lattice/actions/workflows/build.yml)
A simple small python package for generating uniform points on the sphere.
This module provides to functions `fiblat.cube_lattice` and `fiblat.sphere_lattice`.
Both functions take a dimension and a number of points and return numpy arrays that are roughly evenly spaced in either the `[0, 1]` hypercube or the unit hypersphere.
Installation
------------
```bash
pip install fiblat
```
Usage
-----
```python
from fiblat import sphere_lattice, cube_lattice
cube = cube_lattice(3, 100)
sphere = sphere_lattice(3, 100)
```
Development
-----------
- setup: `poetry install`
- tests: `poetry run pytest && poetry run pyre`
نیازمندی
| مقدار | نام |
|---|---|
| >=0.56.3,<0.57.0 | numba |
| >=1.23.4,<2.0.0 | numpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl fiblat-0.3.3:
pip install fiblat-0.3.3.whl
نصب پکیج tar.gz fiblat-0.3.3:
pip install fiblat-0.3.3.tar.gz