mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2024-11-08 22:21:08 +00:00
27 lines
465 B
Julia
27 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
|