https://github.com/chronchi/persistenceimage.jl
Algorithm to calculate the persistence image proposed in https://dl.acm.org/citation.cfm?id=3122017
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: acm.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.6%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Algorithm to calculate the persistence image proposed in https://dl.acm.org/citation.cfm?id=3122017
Basic Info
- Host: GitHub
- Owner: chronchi
- Language: Julia
- Default Branch: master
- Size: 6.84 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Created over 7 years ago
· Last pushed almost 4 years ago
https://github.com/chronchi/PersistenceImage.jl/blob/master/
PersistenceImage
===
[](https://travis-ci.org/chronchi/PersistenceImage.jl) [](https://coveralls.io/github/chronchi/PersistenceImage.jl?branch=master)
Package that provides an implementation to the persistence algorithm proposed in https://dl.acm.org/citation.cfm?id=3122017.
# Installation
In order to install the package follow the steps below
```julia
using Pkg
Pkg.add("https://github.com/chronchi/PersistenceImage.jl")
```
# Usage
Given a persistence diagram the algorithm will output a persistence image using the function ``transformdiagram``.
```julia
a = rand(100)
diagram = [a a.^(2/3)]
persimg = transformdiagram(diagram)
```
## Parameters
There are some parameters described in the paper that you have to choose, namely the grid size and distribution. The current implementation only supports the Gaussian distribution, therefore there is a choice of the
standard deviation ``.
The grid size is a tuple, namely `pixels` and is used as below.
```julia
a = rand(100)
diagram = [a a.^(2/3)]
= 1.0 # standard deviation
pixels = (10, 10) # grid size
persimg = transformdiagram(diagram, pixels=pixels, =)
```
Owner
- Name: Carlos
- Login: chronchi
- Kind: user
- Website: chronchi.github.io
- Repositories: 3
- Profile: https://github.com/chronchi