Skip to main content

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.

Vis

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

pyhaze-0.1.0.tar.gz (942.2 kB view hashes)

Uploaded Source

Built Distribution

pyhaze-0.1.0-cp37-cp37m-win_amd64.whl (80.8 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page