Skip to content

Commit

Permalink
mv references and formula to BandMats
Browse files Browse the repository at this point in the history
  • Loading branch information
kongdd committed May 13, 2024
1 parent 64039d6 commit 62534e5
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 1,719 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ VegCurveFitPlotExt = "Plots"
CategoricalArrays = "0.10"
DataFrames = "1.6"
DelimitedFiles = "1.9"
nlminb_jll = "0.1.1"
NaNStatistics = "0.6"
Parameters = "0.12"
RecipesBase = "1.3"
Reexport = "1"
StaticArrays = "1.9"
UnPack = "1"
julia = "1.9"
nlminb_jll = "0.1.1"

[extras]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
16 changes: 16 additions & 0 deletions data/test_CA-NS6.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ using Test

y, w, t = deserialize("data/phenofit_CA-NS6")

n = length(y)
x = 1:n

include_cve = true
@time z, cve = whit3(y, w; lambda, include_cve)
@time z1, cve1 = whit3(y, w, x; lambda, include_cve)

using Plots
plot()
plot!(z, label="old")
plot!(z1, label="test")

@time z2, cve2 = WHIT(y, w; d=3, lambda=2, include_cve)
@time z2, cve2 = WHIT(y, w, x; d=3, lambda=2, include_cve)

# x = diff(t)
lambda = 2.0
include_cve = false

Expand Down
76 changes: 0 additions & 76 deletions docs/formula/main_whit.jl

This file was deleted.

94 changes: 0 additions & 94 deletions docs/formula/whit3_hat.jl

This file was deleted.

Loading

0 comments on commit 62534e5

Please sign in to comment.