From 3199b079e0f9e4a15a131029efcee1af9f9164cb Mon Sep 17 00:00:00 2001 From: Datseris Date: Mon, 23 Sep 2024 08:24:12 +0100 Subject: [PATCH] fix doc problems --- docs/src/index.md | 2 +- docs/style.jl | 19 +++++++++---------- .../correlationsum_boxassisted.jl | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/src/index.md b/docs/src/index.md index aaed4bf..5e2caf9 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -100,7 +100,7 @@ minimum_pairwise_distance ## Generalized (entropy) dimension -Based on the definition of the Generalized entropy ([`genentropy`](@ref)), one can calculate an appropriate dimension, called *generalized dimension*: +Based on the definition of the generalized (Renyi) entropy, one can calculate an appropriate dimension, called *generalized dimension*: ```@docs generalized_dim molteno_dim diff --git a/docs/style.jl b/docs/style.jl index 8429fd5..691fffa 100644 --- a/docs/style.jl +++ b/docs/style.jl @@ -1,4 +1,4 @@ -# %% Color theme definitions +# Color theme definitions struct CyclicContainer <: AbstractVector{String} c::Vector{String} n::Int @@ -17,23 +17,22 @@ end Base.iterate(c::CyclicContainer, i = 1) = iterate(c.c, i) COLORSCHEME = [ - "#6D44D0", - "#2CB3BF", - "#1B1B1B", - "#DA5210", - "#03502A", - "#866373", + "#7143E0", + "#191E44", + "#0A9A84", + "#AF9327", + "#791457", + "#6C768C", ] COLORS = CyclicContainer(COLORSCHEME) LINESTYLES = CyclicContainer(["-", ":", "--", "-."]) -# %% Makie styling # other styling elements for Makie set_theme!(; palette = (color = COLORSCHEME,), fontsize = 22, - figure_padding = 4, - resolution = (1000, 500), + figure_padding = 8, + size = (800, 400), linewidth = 3.0, ) diff --git a/src/corrsum_based/correlationsum_boxassisted.jl b/src/corrsum_based/correlationsum_boxassisted.jl index 83166b1..6f01249 100644 --- a/src/corrsum_based/correlationsum_boxassisted.jl +++ b/src/corrsum_based/correlationsum_boxassisted.jl @@ -358,7 +358,7 @@ using Random: shuffle! Estimate a reasonable size for boxing `X`, proposed by Bueno-Orovio and Pérez-García [BuenoOrovio2007](@cite), before calculating the correlation -dimension as presented by [Theiler1983](@cite). +dimension as presented by [Theiler1987](@cite). Return the size `r0` and the minimum interpoint distance `ε0` in the data. If instead of boxes, prisms