Export data to CSV
This commit is contained in:
parent
25150cbf87
commit
ffa1236b8a
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue