PYthon RAndom SAmpling for MEshes
Project description
pyransame
PYthon RAndom SAmpling for MEshes
Utilities for choosing random samples of points within cells of PyVista meshes. This package does not choose random points that define the mesh itself, rather random points on 0D vertices, 1D lines, 2D surfaces or in 3D volumes are sampled.
All linear[^1] cells from vtk are supported, except for vtkConvexPointSet
.
[^1]: Linear here means not inheriting from vtkNonLinearCell
.
Random sampling on a 2D surface
Random sampling in a 3D volume
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
pyransame-0.4.0.tar.gz
(308.8 kB
view details)
Built Distribution
pyransame-0.4.0-py3-none-any.whl
(11.8 kB
view details)
File details
Details for the file pyransame-0.4.0.tar.gz
.
File metadata
- Download URL: pyransame-0.4.0.tar.gz
- Upload date:
- Size: 308.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b937222554bacec3dc8317f6765e759a7f8d9c41bf12688fa7eb313b999237 |
|
MD5 | f427cc4b5e1f83d497626e73e2f8ea87 |
|
BLAKE2b-256 | fdd67ffea55107e620f61b4d675d589cfd091298b7305afbf818b0841b9f2d89 |
File details
Details for the file pyransame-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: pyransame-0.4.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee4de063ab7bad477127c8af78e60f71104c7999e658477d09c4cf747d211918 |
|
MD5 | 3b7b196df548cc6194439d2e4cb194f0 |
|
BLAKE2b-256 | e3f2195d14169e9c203d0279859378a46a20fcd73ead645965a7309e7649bc84 |