Skip to main content

Cloud interpolator

Project description

cloud2cloud

This is a simple tool to interpolate N-dimensional data between two M-dimensional meshes as fast as possible. At any point of the target mesh the data is computed from K nearest neighbours in the source mesh.

cloud2cloud interface

For structured meshes.

result = cloud2cloud(source, values, target)

source # ndarray(*shape_sce, dim_msh)
target # ndarray(*shape_tgt, dim_msh)
values # ndarray(*shape_sce, *shape_val)
result # ndarray(*shape_tgt, *shape_val)

Raw interface

The underlying method used to interpolate.

base = CloudInterpolator(source, target)
result = base.interp(values)

source # ndarray(dim_msh, points_sce) or tuple(ndarray(points_sce),...)
target # ndarray(dim_msh, points_tgt) or tuple(ndarray(points_tgt),...)
values # ndarray(points_sce, *shape_val)
result # ndarray(points_tgt, *shape_val)

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

cloud2cloud-0.2.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

cloud2cloud-0.2.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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