Skip to content

Commit

Permalink
correct reference to statespaceset
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Feb 23, 2023
1 parent 6a4c7cb commit 82ab464
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RecurrenceAnalysis"
uuid = "639c3291-70d9-5ea2-8c5b-839eba1ee399"
repo = "https://github.com/JuliaDynamics/RecurrenceAnalysis.jl.git"
version = "2.0.1"
version = "2.0.2"

[deps]
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Downloads.download(
)
include("build_docs_with_style.jl")

build_docs_with_style(pages, RecurrenceAnalysis)
build_docs_with_style(pages, RecurrenceAnalysis, StateSpaceSets)
5 changes: 5 additions & 0 deletions docs/src/rplots.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,8 @@ The distance function used in [`RecurrenceMatrix`](@ref) and co. can be specifie
```@docs
distancematrix
```

## `StateSpaceSet` reference
```@docs
StateSpaceSet
```
5 changes: 4 additions & 1 deletion src/matrices/recurrence_matrix_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# AbstractRecurrenceMatrix type hierarchy
################################################################################
# TODO: `RT` is `AbstractRecurrenceType`, but due to deprecations, it is allowed
# to be anything at the moment
abstract type AbstractRecurrenceMatrix{RT} <: AbstractMatrix{Bool} end
const ARM = AbstractRecurrenceMatrix

Expand Down Expand Up @@ -87,8 +88,10 @@ SparseArrays.SparseMatrixCSC(R::ARM) = SparseMatrixCSC(R.data)
"""
RecurrenceMatrix(x, ε; metric = Euclidean(), parallel::Bool)
Create a recurrence matrix from trajectory `x` (either a `Dataset` or a `Vector`)
Create a recurrence matrix from trajectory `x`
and with recurrence threshold specification `ε`.
`x` is either a [`StateSpaceSet`](@ref) for multivariate data
or an `AbstractVector{<:Real}` for timeseries.
If `ε::Real` is given, a [`RecurrenceThreshold`](@ref) is used to specify recurrences.
Otherwise, any subtype of [`AbstractRecurrenceType`](@ref) may be given as `ε` instead.
Expand Down

0 comments on commit 82ab464

Please sign in to comment.