Skip to content

Commit

Permalink
Docs updates, add midlife (#139)
Browse files Browse the repository at this point in the history
* clean up index

* clean up api section
  • Loading branch information
mtsch authored Dec 16, 2020
1 parent a2311fb commit f477a5a
Show file tree
Hide file tree
Showing 15 changed files with 572 additions and 303 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.16.3

New function: `midlife`.

# v0.16.0

External changes:
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Ripserer"
uuid = "aa79e827-bd0b-42a8-9f10-2b302677a641"
authors = ["mtsch <matijacufar@gmail.com>"]
version = "0.16.2"
version = "0.16.3"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand All @@ -26,7 +26,7 @@ Distances = "0.8, 0.9, 0.10"
IterTools = "1"
LightGraphs = "1.3.3"
MiniQhull = "0.2"
PersistenceDiagrams = "0.8"
PersistenceDiagrams = "^0.8.2"
ProgressMeter = "1"
RecipesBase = "1"
StaticArrays = "0.12, 1"
Expand Down
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
GLMNet = "8d5ece8b-de18-5317-b113-243142960cc6"
GR = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71"
Expand Down
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@info "build started."
using Documenter
using Distances
using Literate
using Ripserer
using PersistenceDiagrams
Expand All @@ -25,9 +26,9 @@ makedocs(;
),
pages=[
"Home" => "index.md",
"API" => ["Public" => "api/ripserer.md", "Interfaces" => "api/extensions.md"],
"Usage Guide" => "generated/basics.md",
"API" => "api.md",
"Examples" => [
"generated/basics.md",
"generated/stability.md",
"generated/cocycles.md",
"generated/cubical.md",
Expand Down
227 changes: 227 additions & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
# API

## Ripserer

```@docs
ripserer
```

## Filtrations

```@docs
Rips
```

```@docs
Cubical
```

```@docs
Custom
```

```@docs
Alpha
```

```@docs
EdgeCollapsedRips
```

## Persistence Diagrams

Persistence diagrams live in a separate package,
[PersistenceDiagrams.jl](https://github.com/mtsch/PersistenceDiagrams.jl). The package is
documented in detail [here](https://mtsch.github.io/PersistenceDiagrams.jl/dev/).

If you are looking for
Wasserstein or bottleneck distances, persistence images, betti curves, landscapes, and
similar, you will need to run `using PersistenceDiagrams`.

For convenience, the following basic functionality is reexported by Ripserer:

```@docs
PersistenceDiagrams.PersistenceDiagram
```

```@docs
PersistenceDiagrams.PersistenceInterval
```

```@docs
birth(::PersistenceDiagrams.PersistenceInterval)
```

```@docs
death(::PersistenceDiagrams.PersistenceInterval)
```

```@docs
persistence(::PersistenceDiagrams.PersistenceInterval)
```

```@docs
midlife
```

```@docs
representative(::PersistenceDiagrams.PersistenceInterval)
```

```@docs
birth_simplex(::PersistenceDiagrams.PersistenceInterval)
```

```@docs
death_simplex(::PersistenceDiagrams.PersistenceInterval)
```

```@docs
barcode
```

## Simplices and Representatives

```@docs
Ripserer.Simplex
```

```@docs
Ripserer.Cube
```

```@docs
Ripserer.dim(::Ripserer.AbstractCell)
```

```@docs
Ripserer.birth(::Ripserer.AbstractCell)
```

```@docs
Ripserer.index(::Ripserer.AbstractCell)
```

```@docs
Ripserer.vertices(::Ripserer.AbstractCell)
```

```@docs
Ripserer.Chain
```

```@docs
Mod
```

## Experimental Features

```@docs
Ripserer.reconstruct_cycle
```

```@docs
Ripserer.Partition
```

```@docs
Ripserer.CircularCoordinates
```

## Abstract Types and Interfaces

```@docs
Ripserer.AbstractFiltration
```

```@docs
Ripserer.nv(::Ripserer.AbstractFiltration)
```

```@docs
Ripserer.births(::Ripserer.AbstractFiltration)
```

```@docs
Ripserer.vertices(::Ripserer.AbstractFiltration)
```

```@docs
Ripserer.edges(::Ripserer.AbstractFiltration)
```

```@docs
Ripserer.simplex_type
```

```@docs
Ripserer.simplex
```

```@docs
Ripserer.unsafe_simplex
```

```@docs
Ripserer.unsafe_cofacet
```

```@docs
Ripserer.threshold(::Ripserer.AbstractFiltration)
```

```@docs
Ripserer.columns_to_reduce
```

```@docs
Ripserer.emergent_pairs
```

```@docs
Ripserer.postprocess_diagram
```

```@docs
Ripserer.distance_matrix
```

```@docs
Ripserer.AbstractRipsFiltration
```

```@docs
Ripserer.adjacency_matrix(::Ripserer.AbstractFiltration)
```

```@docs
Ripserer.AbstractCustomFiltration
```

```@docs
Ripserer.simplex_dicts
```

```@docs
Ripserer.AbstractCell
```

```@docs
Ripserer.AbstractSimplex
```

```@docs
Base.sign(::Ripserer.AbstractCell)
```

```@docs
Base.:-(::Ripserer.AbstractCell)
```

```@docs
Ripserer.coboundary
```

```@docs
Ripserer.boundary
```
Loading

2 comments on commit f477a5a

@mtsch
Copy link
Owner Author

@mtsch mtsch commented on f477a5a Dec 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/26512

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.16.3 -m "<description of version>" f477a5a440d65943b5ce657b48490ca2965338c0
git push origin v0.16.3

Please sign in to comment.