spectralbrain.wesd_matrix# spectralbrain.wesd_matrix(dna_collection, *, p=2.0, normalize=True)[source]# Pairwise WESD matrix for a collection of ShapeDNA vectors. Parameters: dna_collection (ndarray, shape (S, d)) – S shapes, each with d-dimensional ShapeDNA. p (float) normalize (bool) Returns: ndarray, shape (S, S) – Symmetric WESD distance matrix. Return type: ndarray[tuple[Any, …], dtype[floating]]