Skip to content

Commit 35e234b

Browse files
authored
Move version to v1 (#88)
* nicer docs for slope change * move to v1
1 parent 04c04f9 commit 35e234b

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v1.0
2+
3+
No change in code, but releasing the first major version to indicate the software stability. Minor improvements in the docs.
4+
15
# v0.2
26

37
The function that loaded the double well potential timeseries data has been removed. The dependencies of DelimitedFiles and Downloads have been removed.

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "TransitionsInTimeseries"
22
uuid = "5f5b98ec-1183-43e0-887a-12fdc55c52f7"
33
authors = ["Jan Swierczek-Jereczek <jan.jereczek@gmail.com>", "George Datseris <datseris.george@gmail.com>"]
4-
version = "0.2.0"
4+
version = "1.0.0"
55

66
[deps]
77
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"

src/analysis/api.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Existing subtypes of `ChangesConfig` are:
99
1010
- [`SlidingWindowConfig`](@ref).
1111
- [`SegmentedWindowConfig`](@ref).
12+
- [`SlopeChangeConfig`](@ref).
1213
"""
1314
abstract type ChangesConfig end
1415

src/analysis/slope_change.jl

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ It estimates a change of slope in the timeseries by fitting two
99
connected linear segments to the timeseries,
1010
returning the results (i.e., the two-linear fits) as [`SlopeChangeResults`](@ref).
1111
12+
Currently, significance of `SlopeChangeConfig` results can only be
13+
checked with [`SlopeChangeSignificance`](@ref).
14+
1215
## Keyword arguments
13-
- indicator = nothing: if not nothing. Otherwise it should be a function f(x) -> Real.
16+
17+
- `indicator = nothing`: a function f(x) -> Real.
1418
The slope fitting is then done over an indicator of the timeseries, which itself
1519
is estimated via a sliding window exactly as in [`SlidingWindowConfig`](@ref).
20+
When this is `nothing` the slope change is applied to the timeseries directly.
1621
- `width_ind, stride_ind, whichtime`: exactly as in [`SlidingWindowConfig`](@ref)
1722
if `indicator` is not `nothing`.
1823
"""
@@ -85,10 +90,10 @@ It has the following fields that the user may access:
8590
8691
- `x`: the input timeseries.
8792
- `t`: the time vector of the input timeseries.
88-
- `x_indicator`, the indicator timeseries.
89-
- `t_indicator`, the time vector of the indicator timeseries.
90-
- `t_change`, the time the slope changes.
91-
- `fitparams = a, b, c, d`, the fitted linear coefficients, `a + b*t` before.
93+
- `x_indicator`: the indicator timeseries.
94+
- `t_indicator`: the time vector of the indicator timeseries.
95+
- `t_change`: the time the slope changes.
96+
- `fitparams = a, b, c, d`: the fitted linear coefficients, `a + b*t` before
9297
`t_change` and `c + d*t` after `t_change`.
9398
"""
9499
struct SlopeChangeResults{T, X, W, L} <: ChangesResults

0 commit comments

Comments
 (0)