API reference#
Every public function, generated from its numpydoc docstring. The main entry points are importable from the top-level package:
from thetan import TB, TS, tbscan, distance_matrix
Module |
Contents |
|---|---|
Thetan Berserker (TB), the main clustering method, and TBSCAN, which links TB centroids with DBSCAN to find non-convex clusters. |
|
Thetan Sequential (TS), the one-pass primitive, and the cleanup steps that TB builds from it. |
|
Distance functions shared by every Thetan algorithm. |
|
A standalone DBSCAN. |
|
Helpers that turn images and volumes into feature rows that the clustering functions accept, and post-process segmentations. |
|
Scores that compare a clustering with true labels. |
|
Split images into patches and stitch them back. |
|
Plotting helpers for clustering results. |