diff --git a/.claude/worktrees/naughty-bassi b/.claude/worktrees/naughty-bassi new file mode 160000 index 0000000..4211227 --- /dev/null +++ b/.claude/worktrees/naughty-bassi @@ -0,0 +1 @@ +Subproject commit 4211227d6a6e437accd33a2c1ebccebc0a8b8db2 diff --git a/test/Pb208_nucleon_spectrum.jl b/test/Pb208_nucleon_spectrum.jl index eded7cc..1e185f4 100644 --- a/test/Pb208_nucleon_spectrum.jl +++ b/test/Pb208_nucleon_spectrum.jl @@ -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!() \ No newline at end of file +yflip!() +savefig("temp/Pb208_nucleon_spectrum.pdf")