Fast smoothing of per-vertex data on triangular meshes.
Project description
pyhaze
Fast smoothing of per-vertex data on triangular meshes for Python.
About
This package package performs smoothing of per-vertex data on triangular meshes. Such smoothing is typically used to reduce high-frequency noise and improve signal-to-noise ration (SNR). The algorithm for iterative nearest-neighbor smoothing is trivial, but involves nested tight loops, which are very slow in Python, so this package calls into C++ via pybind11 to achieve high performance.
Fig.1: Noisy per-vertex data on a brain mesh (left), and the same data after smoothing (right). White represents NA values.
This is a Python implementation of the haze package for R. The haze website offers a more detailed explanation of the motivation and use cases.
Development state
This is work-in-progress, come back another day.
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
Built Distribution
Hashes for pyhaze-0.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e84a269a97fae7297e2a10a8ff70bd03c5da493615b15c63a96a5ff117eebc2 |
|
MD5 | 15c496e6feecbbb229ef61e27487586f |
|
BLAKE2b-256 | 9268b918fb63c2da06c8fef0b58bfde3ca692dc7578dc745425eb7577de244e8 |