mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2025-09-02 09:02:35 +00:00
pair_correlation
This commit is contained in:
parent
7abb864cba
commit
95d3d5d9af
7 changed files with 129 additions and 83 deletions
26
analysis/pair_correlation.jl
Normal file
26
analysis/pair_correlation.jl
Normal file
|
@ -0,0 +1,26 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue