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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cloud2cloud-0.2.0.tar.gz.

File metadata

  • Download URL: cloud2cloud-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for cloud2cloud-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9fddaca99cd368b2df044e41f75aa4cd67fed569a351db7e0190eb08ee0cefb2
MD5 859bc84861ef2a5b42f44499b762a107
BLAKE2b-256 cfb89d3f710de984d00e97562c5e998757e8c9e5d42681d9fb689f927760b020

See more details on using hashes here.

File details

Details for the file cloud2cloud-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cloud2cloud-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for cloud2cloud-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52d780dbe3b117a9ffe7cf00f8829ee2837f0f6d8842e7c96083e9f010fe44fc
MD5 e054dcd27338ce1f439f62fc4112a85a
BLAKE2b-256 66e12ff7240f58239369506e97cfa427e8838dddeb3f14e0c575ff156a509a95

See more details on using hashes here.

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