diff --git a/3body_resonance_EC.jl b/3body_resonance_EC.jl index 426c18e..2c9e9b2 100644 --- a/3body_resonance_EC.jl +++ b/3body_resonance_EC.jl @@ -1,4 +1,4 @@ -using Plots +using DelimitedFiles, Plots include("3body_resonance.jl") current_E = 5.9673 - 0.0006im @@ -47,6 +47,10 @@ for c in extrapolating_c push!(extrapolated, nearest(evals, current_E)) end +open("temp/NCSM.training.csv", "w") do f; writedlm(f, hcat(reim(training)...)); end +open("temp/NCSM.exact.csv", "w") do f; writedlm(f, hcat(reim(exact)...)); end +open("temp/NCSM.extrapolated.csv", "w") do f; writedlm(f, hcat(reim(extrapolated)...)); end + scatter(real.(training),imag.(training), label="training") scatter!(real.(exact),imag.(exact), label="exact") scatter!(real.(extrapolated),imag.(extrapolated), label="extrapolated")