Getting started

version

Python version of the Ball Mapper algorithm described in arXiv:1901.07410 .

Install the package 📦

pip install pyballmapper

Basic usage

from pyballmapper import BallMapper
bm = BallMapper(X = my_pointcloud,    # the pointcloud, as a numpy array
                eps = 0.25)           # the radius of the covering balls

bm.draw_networkx()

For more info check out the example notebooks .