Measure the distance between two spectra/signals using optimal transport and related metrics
This repository implements all optimal-transport based distances between spectra detailed in the following pre print
Supplementary material to the paper is provided in a separate repository.
The package also contains a number of generic solvers for optimal transport problems:
See the documentation for instructions.
using Pkg
pkg"add SpectralDistances"
Interpolation between two rational spectra under four different metrics.
Barycenter of three spectra and mixed spectrum which can be decomposed into a combination of the three input spectra
The image below illustrates interpolation between 4 Mel spectrograms, each one representing a short whistle. See the folder examples
for the code.
See the docs for more examples.