Skip to content

Commit

Permalink
Tweak smooting
Browse files Browse the repository at this point in the history
  • Loading branch information
braamvandyk committed Nov 13, 2024
1 parent 5bec470 commit 25cf2b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
10 changes: 6 additions & 4 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ version = "1.1.2"

[[deps.ArrayInterface]]
deps = ["Adapt", "LinearAlgebra"]
git-tree-sha1 = "3640d077b6dafd64ceb8fd5c1ec76f7ca53bcf76"
git-tree-sha1 = "d60a1922358aa203019b7857a2c8c37329b8736c"
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
version = "7.16.0"
version = "7.17.0"

[deps.ArrayInterface.extensions]
ArrayInterfaceBandedMatricesExt = "BandedMatrices"
ArrayInterfaceBlockBandedMatricesExt = "BlockBandedMatrices"
ArrayInterfaceCUDAExt = "CUDA"
ArrayInterfaceCUDSSExt = "CUDSS"
ArrayInterfaceChainRulesCoreExt = "ChainRulesCore"
ArrayInterfaceChainRulesExt = "ChainRules"
ArrayInterfaceGPUArraysCoreExt = "GPUArraysCore"
ArrayInterfaceReverseDiffExt = "ReverseDiff"
Expand All @@ -47,6 +48,7 @@ version = "7.16.0"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
CUDSS = "45b445bb-4962-46a0-9369-b4df9d0f772e"
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Expand Down Expand Up @@ -224,9 +226,9 @@ version = "2.26.0"

[[deps.ForwardDiff]]
deps = ["CommonSubexpressions", "DiffResults", "DiffRules", "LinearAlgebra", "LogExpFunctions", "NaNMath", "Preferences", "Printf", "Random", "SpecialFunctions"]
git-tree-sha1 = "a9ce73d3c827adab2d70bf168aaece8cce196898"
git-tree-sha1 = "a2df1b776752e3f344e5116c06d75a10436ab853"
uuid = "f6369f11-7733-5829-9624-2563aa707210"
version = "0.10.37"
version = "0.10.38"
weakdeps = ["StaticArrays"]

[deps.ForwardDiff.extensions]
Expand Down
16 changes: 8 additions & 8 deletions src/datacleaning.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,40 +208,40 @@ begin
e f g h]

pltraw = let
scatter(alldata[:raw], leg=:bottomleft, size=(900, 400));
scatter(alldata[:raw], leg=:bottomleft, size=(640, 480));
plot!(pure[:pure])
end;

pltdef02 = let
scatter(alldata[:default02], leg=:bottomleft, size=(900, 400))
scatter(alldata[:default02], leg=:bottomleft, size=(640, 480))
plot!(pure[:pure])
end;

pltnoise02 = let
scatter(alldata[:denoise02], leg=:bottomleft, size=(900, 400))
scatter(alldata[:denoise02], leg=:bottomleft, size=(640, 480))
plot!(pure[:pure])
end;

pltsmooth02 = let
scatter(alldata[:fullsmooth02], leg=:bottomleft, size=(900, 400))
scatter(alldata[:fullsmooth02], leg=:bottomleft, size=(640, 480))
plot!(pure[:pure])
end;

pltdef05 = let
scatter(alldata[:default05], leg=:bottomleft, size=(900, 400))
scatter(alldata[:default05], leg=:bottomleft, size=(640, 480))
plot!(pure[:pure])
end;

pltnoise05 = let
scatter(alldata[:denoise05], leg=:bottomleft, size=(900, 400))
scatter(alldata[:denoise05], leg=:bottomleft, size=(640, 480))
plot!(pure[:pure])
end;

pltsmooth05 = let
scatter(alldata[:fullsmooth05], leg=:bottomleft, size=(900, 400))
scatter(alldata[:fullsmooth05], leg=:bottomleft, size=(640, 480))
plot!(pure[:pure])
end;

plot(pltraw, pltdef02, pltnoise02, pltsmooth02, pltraw, pltdef05, pltnoise05, pltsmooth05, layout = l, size=(3600, 800))
plot(pltraw, pltdef02, pltnoise02, pltsmooth02, pltraw, pltdef05, pltnoise05, pltsmooth05, layout = l, size=(2560, 960))
end
savefig("cleandemo.png")

0 comments on commit 25cf2b8

Please sign in to comment.