dowker_persistence
Code for computing Dowker persistence diagrams
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found 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, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Keywords
Repository
Code for computing Dowker persistence diagrams
Basic Info
Statistics
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
Dowker persistence
This repository contains code for computing the Dowker persistence diagrams of two point clouds in dimensions 0 or 1. Please note that we use the term "Dowker" and "Witness" interchangeably.
Install
Download Julia. You may run into dependency issues for more recent versions of Julia. I recommend using Julia version 1.7.2.
Quick start
``` import Pkg Pkg.activate(".") Pkg.instantiate() include("dowkerpersistence.jl") include("Eirenevar.jl) using .Dowker using .Eirene_var using DelimitedFiles
load points
P1 = readdlm("toyexample/R1coordinates.csv", ',', Float64) P2 = readdlm("toyexample/R2coordinates.csv", ',', Float64)
compute cross-system distance
D1, D2, DP1P2, DP2P1 = compute_distance(P1, P2)
compute Dowker persistence
WP1P2 = computeWitnesspersistence(DP1P2, maxdim = 1) Wbarcode = Eirenevar.barcode(WP1P2["eirene_output"], dim = 1)
plot Dowker persistence diagram
plotPD(Wbarcode, title = "Dowker persistence diagram") ```
Examples
- See
1_compute_dowker_persistence.ipynbfor example computation of Dowker persistence diagram, cycle representatives, and persistence images. - See
2_more_examples.ipynbfor Dowker persistence diagrams on a few toy examples.
Owner
- Name: Iris Yoon
- Login: irishryoon
- Kind: user
- Website: irisyoon.com
- Repositories: 3
- Profile: https://github.com/irishryoon
Mathematician & Data Scientist
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Yoon
given-names: Hee Rhang
orcid: https://orcid.org/0000-0003-0638-9195
title: "Dowker persistence"
version: 1.0.0
doi: 10.5281/zenodo.7492624
date-released: 2022-10-02
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1