Skip to main content

IsoScore measures uniformity of spatial utilization of point clouds

Project description

IsoScore

This contains the Python3 implementation of IsoScore, which was originally introduced in the 2021 paper by William Rudman, Nate Gillman, Taylor Rayne, and Carsten Eickhoff. IsoScore is a tool which measures how uniformly a point cloud utilizes the Euclidian space that it sits inside of. See the original paper for more information.

How to use

The only dependencies are numpy and sklearn.

import numpy as np
from IsoScore import IsoScore

# Computing the IsoScore for a fuzzy ball in R^3
point_cloud_isotropic = np.random.normal(size=(3,100))
the_score = IsoScore.IsoScore(point_cloud_isotropic)
print(f"The IsoScore for 100 points sampled from this Gaussian ball in R^3 is {the_score},")

# Computing the IsoScore for points sampled from the line t \mapsto (t, 2t, 3t) in R^3
random_array = np.random.normal(size=100)
point_cloud_anisotropic = np.array([random_array, 2*random_array, 3*random_array])
the_score = IsoScore.IsoScore(point_cloud_anisotropic)
print(f"and the IsoScore for 100 points sampled from this line in R^3 is {the_score}.")

License

This project is licensed under the MIT License.

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

IsoScore-1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

IsoScore-1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file IsoScore-1.0.tar.gz.

File metadata

  • Download URL: IsoScore-1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for IsoScore-1.0.tar.gz
Algorithm Hash digest
SHA256 523b3116632ac7735c1e49883031b854387e4a58f01d5ffdf4486fe3426325e4
MD5 dd59cde3e76a1ea6690287bf413d0fb6
BLAKE2b-256 6598bb9ddf7ac7451117ecea49c37076b52023ad4eef0068663f8c5f653d9ffc

See more details on using hashes here.

File details

Details for the file IsoScore-1.0-py3-none-any.whl.

File metadata

  • Download URL: IsoScore-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for IsoScore-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6403e84d15c834e223d931baa05296a1ae8f861b95229e9ac6442ca7509a30
MD5 0e887741d2ecb81cff3a851fef7e1706
BLAKE2b-256 59fa41a0f96dadd11f06d0b286931ba7ddd55284a7068e482407b8d2492202a7

See more details on using hashes here.

Supported by

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