1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-11-08 22:21:08 +00:00
ReCo.jl/analysis/pair_correlation.jl
2021-11-20 14:15:22 +01:00

26 lines
465 B
Julia

if splitdir(pwd())[2] == "analysis"
cd("..")
end
if splitdir(pwd())[2] != "ReCo"
error("You have to be in the main directeory ReCo!")
else
include("src/ReCo.jl")
includet("src/analysis/pair_correlation_function.jl")
end
##
using CairoMakie
CairoMakie.activate!()
##
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