Indexing using a spectral encoding of topological structure | Synapse