Skip to main content

gamma_index - calculation of gamma index on multi-dimensional distributions

Project description

Small Python library for calculation of gamma index.

The module offers two functions:

gamma_matrix

This function calculates gamma index in each point for two n-dimensional distributions (with a same shape). It is not very optimized, it’s O(n x n), where n is the total number of elements of the matrix. It takes minutes to calculate the 3-D matrix for 50x50x50 distribution.

gamma_matrix_pass

This function returns a boolean matrix (passed / not passed) with optimized search only on a narrow neighbourhood of each point.

TODO

  • Prepare an optimized version of gamma_matrix based on layers

  • Add tests

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

gamma_index-0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

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