Name | pyransame JSON |
Version |
0.4.0
JSON |
| download |
home_page | None |
Summary | PYthon RAndom SAmpling for MEshes |
upload_time | 2024-07-16 10:49:54 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License |
keywords |
pyvista
vtk
numpy
mesh
sample
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pyransame
PYthon RAndom SAmpling for MEshes
[Documentation](https://matthewflamm.github.io/pyransame/)
Utilities for choosing random samples of points within cells of [PyVista](https://github.com/pyvista/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](https://gitlab.kitware.com/vtk/vtk) are supported, except for `vtkConvexPointSet`.
[^1]: Linear here means not inheriting from `vtkNonLinearCell`.
## Random sampling on a 2D surface
![Samples on a bunny](/doc/_static/surface_sampling.png)
## Random sampling in a 3D volume
![Samples inside a 3D volume](/doc/_static/volume_sampling.png)
Raw data
{
"_id": null,
"home_page": null,
"name": "pyransame",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "pyvista, vtk, numpy, mesh, sample",
"author": null,
"author_email": "Matthew Flamm <matthewhflamm0@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/fd/d6/7ffea55107e620f61b4d675d589cfd091298b7305afbf818b0841b9f2d89/pyransame-0.4.0.tar.gz",
"platform": null,
"description": "# pyransame\nPYthon RAndom SAmpling for MEshes\n\n[Documentation](https://matthewflamm.github.io/pyransame/)\n\nUtilities for choosing random samples of points within cells of [PyVista](https://github.com/pyvista/pyvista) meshes.\nThis package does _not_ choose random points that define the mesh itself, rather random points on 0D vertices, 1D lines, 2D surfaces or\nin 3D volumes are sampled.\n\nAll linear[^1] cells from [vtk](https://gitlab.kitware.com/vtk/vtk) are supported, except for `vtkConvexPointSet`.\n\n[^1]: Linear here means not inheriting from `vtkNonLinearCell`.\n\n## Random sampling on a 2D surface\n\n![Samples on a bunny](/doc/_static/surface_sampling.png)\n\n## Random sampling in a 3D volume\n\n![Samples inside a 3D volume](/doc/_static/volume_sampling.png)\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "PYthon RAndom SAmpling for MEshes",
"version": "0.4.0",
"project_urls": {
"Bug Tracker": "https://github.com/MatthewFlamm/pyransame/issues",
"Documentation": "https://matthewflamm.github.io/pyransame/",
"Repository": "https://github.com/MatthewFlamm/pyransame"
},
"split_keywords": [
"pyvista",
" vtk",
" numpy",
" mesh",
" sample"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e3f2195d14169e9c203d0279859378a46a20fcd73ead645965a7309e7649bc84",
"md5": "3b7b196df548cc6194439d2e4cb194f0",
"sha256": "ee4de063ab7bad477127c8af78e60f71104c7999e658477d09c4cf747d211918"
},
"downloads": -1,
"filename": "pyransame-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3b7b196df548cc6194439d2e4cb194f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11753,
"upload_time": "2024-07-16T10:49:52",
"upload_time_iso_8601": "2024-07-16T10:49:52.944715Z",
"url": "https://files.pythonhosted.org/packages/e3/f2/195d14169e9c203d0279859378a46a20fcd73ead645965a7309e7649bc84/pyransame-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fdd67ffea55107e620f61b4d675d589cfd091298b7305afbf818b0841b9f2d89",
"md5": "f427cc4b5e1f83d497626e73e2f8ea87",
"sha256": "f8b937222554bacec3dc8317f6765e759a7f8d9c41bf12688fa7eb313b999237"
},
"downloads": -1,
"filename": "pyransame-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "f427cc4b5e1f83d497626e73e2f8ea87",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 308801,
"upload_time": "2024-07-16T10:49:54",
"upload_time_iso_8601": "2024-07-16T10:49:54.896796Z",
"url": "https://files.pythonhosted.org/packages/fd/d6/7ffea55107e620f61b4d675d589cfd091298b7305afbf818b0841b9f2d89/pyransame-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-16 10:49:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MatthewFlamm",
"github_project": "pyransame",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyransame"
}