1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-09-19 19:01:17 +00:00
ReCo.jl/analysis/pair_correlation.jl

29 lines
475 B
Julia
Raw Normal View History

2021-11-20 13:15:22 +00:00
if splitdir(pwd())[2] == "analysis"
cd("..")
end
if splitdir(pwd())[2] != "ReCo"
error("You have to be in the main directeory ReCo!")
else
2021-12-02 23:37:43 +00:00
include("src/analysis/pair_correlation_function.jl")
2021-11-20 13:15:22 +00:00
end
##
2021-12-02 23:37:43 +00:00
using JLD2
2021-11-20 13:15:22 +00:00
using CairoMakie
CairoMakie.activate!()
2021-12-02 23:37:43 +00:00
set_theme!(theme_black())
2021-11-20 13:15:22 +00:00
##
dirs = readdir("exports/2021_11_19"; join=true)
##
for dir in dirs
data = JLD2.load("$dir/data.jld2")
display(pair_correlation(data["sol"], data["variables"]).fig)
end