A package for generating evenly distributed points on a sphere
Project description
Fibonacci Lattice
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
pip install fiblat
Usage
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fiblat-0.3.3.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file fiblat-0.3.3.tar.gz
.
File metadata
- Download URL: fiblat-0.3.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.68.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96a48152b9dc354dd6625e8e9ff0e651bca7b83ce3c9a32cd8a3df764698899b |
|
MD5 | b6ab97a94719e2d40ce009fcb71622fb |
|
BLAKE2b-256 | e7d9288f10e112182cf6334e3b7203df97634ac24aff962e3e045cdce913e110 |
File details
Details for the file fiblat-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: fiblat-0.3.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.6 Linux/5.15.68.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004943469389c2134795e8abd548c67c412aedaa561fc2a8293bc36e024f6a0e |
|
MD5 | 83be87430de03e9f0d726e3242082a1c |
|
BLAKE2b-256 | 33817f7ee2822dc47499622a8b475ad57935de5dad62eb850218203808ceaa95 |