mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2024-11-08 22:21:08 +00:00
28 lines
487 B
Julia
28 lines
487 B
Julia
if splitdir(pwd())[2] == "analysis"
|
|
cd("..")
|
|
end
|
|
|
|
if splitdir(pwd())[2] != "ReCo.jl"
|
|
error("You have to be in the main directeory ReCo.jl!")
|
|
else
|
|
include("src/analysis/pair_correlation_function.jl")
|
|
end
|
|
|
|
##
|
|
|
|
using JLD2: JLD2
|
|
|
|
using CairoMakie
|
|
CairoMakie.activate!()
|
|
set_theme!(theme_black())
|
|
|
|
##
|
|
|
|
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
|