Nucleon spectrum plot
This commit is contained in:
parent
22766ad7bc
commit
e42ee2fae6
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 4211227d6a6e437accd33a2c1ebccebc0a8b8db2
|
||||
|
|
@ -40,6 +40,11 @@ annotate!(κs .+ 0.3, Ebinds .+ 1, [(o, 9) for o in spec.occ])
|
|||
scatter!(bench_κs, bench_Ebinds, label="benchmark"; markershape=:cross, markercolor="red")
|
||||
annotate!(bench_κs .+ 0.3, bench_Ebinds .- 1, [(o, 9, :red) for o in bench_occ])
|
||||
|
||||
xlabel!("κ")
|
||||
# label each κ in spectroscopic notation l_j (GR renders $...$ as LaTeX)
|
||||
spectroscopic(κ::Int) = "\$\\mathrm{" * "spdfghiklmno"[l_κ(κ) + 1] * "}_{" * string(Int(2 * j_κ(κ))) * "/2}\$"
|
||||
tick_κs = sort(unique(Int.([κs; bench_κs])))
|
||||
xticks!(tick_κs, spectroscopic.(tick_κs))
|
||||
xlabel!("Orbital")
|
||||
ylabel!("Binding energy (MeV)")
|
||||
yflip!()
|
||||
savefig("temp/Pb208_nucleon_spectrum.pdf")
|
||||
|
|
|
|||
Loading…
Reference in New Issue