From d4307f45ef791ab45758be46af85e19db14a49cb Mon Sep 17 00:00:00 2001 From: kapoorlab Date: Fri, 3 Nov 2023 19:40:08 +0100 Subject: [PATCH] cluster labels plot --- src/napatrackmater/Trackvector.py | 7 +++++++ src/napatrackmater/_version.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/napatrackmater/Trackvector.py b/src/napatrackmater/Trackvector.py index c513a3d4..ccb46040 100644 --- a/src/napatrackmater/Trackvector.py +++ b/src/napatrackmater/Trackvector.py @@ -954,6 +954,13 @@ def unsupervised_clustering( ) np.save(linkage_npy_file_name, shape_dynamic_linkage_matrix) + cluster_labels_npy_file_name = ( + csv_file_name_original + + track_arrays_array_names[track_arrays_array.index(track_arrays)] + + "_cluster_labels.npy" + ) + np.save(cluster_labels_npy_file_name, shape_dynamic_cluster_labels) + def convert_tracks_to_arrays(analysis_vectors, min_track_length=0): diff --git a/src/napatrackmater/_version.py b/src/napatrackmater/_version.py index 17532934..f591e582 100644 --- a/src/napatrackmater/_version.py +++ b/src/napatrackmater/_version.py @@ -1,2 +1,2 @@ -__version__ = version = "4.4.2" -__version_tuple__ = version_tuple = (4, 4, 2) +__version__ = version = "4.4.3" +__version_tuple__ = version_tuple = (4, 4, 3)