https://github.com/baggepinnen/spectraldistances.jl

Measure the distance between two spectra/signals using optimal transport and related metrics

https://github.com/baggepinnen/spectraldistances.jl

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary

Keywords

barycenter barycentric-coordinates dynamic-frequency-warping dynamic-time-warping earth-movers-distance histogram linear-systems metrics optimal-transport riemannian-manifold spectral-analysis spectral-embedding spectrum wasserstein-distance

Keywords from Contributors

neural-sde pdes symbolic-computation jacobian hybrid-differential-equations pinn fluxes surrogate numerical matrix-exponential
Last synced: 5 months ago · JSON representation

Repository

Measure the distance between two spectra/signals using optimal transport and related metrics

Basic Info
Statistics
  • Stars: 47
  • Watchers: 3
  • Forks: 5
  • Open Issues: 2
  • Releases: 18
Topics
barycenter barycentric-coordinates dynamic-frequency-warping dynamic-time-warping earth-movers-distance histogram linear-systems metrics optimal-transport riemannian-manifold spectral-analysis spectral-embedding spectrum wasserstein-distance
Created over 6 years ago · Last pushed 8 months ago
Metadata Files
Readme License

README.md

CI codecov docs

This repository implements all optimal-transport based distances between spectra detailed in the following pre print

"New Metrics Between Rational Spectra and their Connection to Optimal Transport", Bagge Carlson and Chitre 2020

Supplementary material to the paper is provided in a separate repository.

The package also contains a number of generic solvers for optimal transport problems: - Fixed support in 1d (histograms) - Varying discrete support (atoms/dirac masses) with non-uniform masses in any dimension - Barycenters supported on fixed number of atoms, but possibly with non-uniform masses - Barycentric coordinates - Continuous support in 1d

See the documentation for instructions.

Installation

julia using Pkg pkg"add SpectralDistances"

window

Interpolation between two rational spectra under four different metrics.

window

Barycenter of three spectra and mixed spectrum which can be decomposed into a combination of the three input spectra

Example: Barycentric interpolation of spectrograms

The image below illustrates interpolation between 4 Mel spectrograms, each one representing a short whistle. See the folder examples for the code.

barycenters

See the docs for more examples.

Owner

  • Name: Fredrik Bagge Carlson
  • Login: baggepinnen
  • Kind: user
  • Location: Lund, Sweden

Control systems, system identification, signal processing and machine learning

GitHub Events

Total
  • Release event: 1
  • Watch event: 1
  • Delete event: 27
  • Issue comment event: 6
  • Push event: 7
  • Pull request event: 33
  • Fork event: 1
  • Create event: 4
Last Year
  • Release event: 1
  • Watch event: 1
  • Delete event: 27
  • Issue comment event: 6
  • Push event: 7
  • Pull request event: 33
  • Fork event: 1
  • Create event: 4

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 364
  • Total Committers: 4
  • Avg Commits per committer: 91.0
  • Development Distribution Score (DDS): 0.069
Past Year
  • Commits: 7
  • Committers: 2
  • Avg Commits per committer: 3.5
  • Development Distribution Score (DDS): 0.143
Top Committers
Name Email Commits
Fredrik Bagge Carlson b****n@g****m 339
github-actions[bot] 4****] 23
Julia TagBot 5****t 1
CompatHelper Julia c****y@j****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 5
  • Total pull requests: 95
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 1 month
  • Total issue authors: 4
  • Total pull request authors: 2
  • Average comments per issue: 8.4
  • Average comments per pull request: 0.19
  • Merged pull requests: 31
  • Bot issues: 0
  • Bot pull requests: 85
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ymtoo (2)
  • rfourquet (1)
  • JuliaTagBot (1)
  • baggepinnen (1)
Pull Request Authors
  • github-actions[bot] (114)
  • baggepinnen (10)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • julia 3 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 18
juliahub.com: SpectralDistances

Measure the distance between two spectra/signals using optimal transport and related metrics

  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 3 Total
Rankings
Dependent repos count: 9.9%
Stargazers count: 14.8%
Average: 22.9%
Forks count: 28.1%
Dependent packages count: 38.9%
Last synced: 6 months ago

Dependencies

.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/docs.yml actions
  • actions/checkout v2 composite
  • julia-actions/setup-julia latest composite
.github/workflows/main.yml actions
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest latest composite
  • julia-actions/setup-julia latest composite
.github/workflows/CompatHelper.yml actions