.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "api/gallery/particle/quark_model/plot_01_eightfold_way_octet.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_api_gallery_particle_quark_model_plot_01_eightfold_way_octet.py: The Eightfold Way: the baryon octet and the meson nonet ========================================================= In 1961 Gell-Mann and, independently, Ne'eman sorted the hadrons by two additive quantum numbers, the isospin projection :math:`I_3` and the hypercharge :math:`Y = B + S`. Plotted on those axes, the eight spin-1/2 baryons fall on a hexagon with two states at its centre, and the nine pseudoscalar mesons fill the same hexagon with three. These are weight diagrams of the group SU(3), the "Eightfold Way". Gell-Mann then showed that breaking the symmetry to first order gives the octet's Gell-Mann-Okubo mass relation, :math:`2(m_N + m_\Xi) = 3m_\Lambda + m_\Sigma`. This example draws both diagrams with :func:`~physicskit.particle.quark_model.weight_diagram` and tests the relation with :func:`~physicskit.particle.quark_model.gell_mann_okubo`. .. GENERATED FROM PYTHON SOURCE LINES 19-35 .. code-block:: Python import matplotlib.pyplot as plt import numpy as np from physicskit.particle.quark_model import ( BARYON_OCTET, MESON_NONET, gell_mann_okubo, quark_quantum_numbers, weight_diagram, ) octet = weight_diagram("baryon_octet") nonet = weight_diagram("meson_nonet") for name, (I3, Y) in octet.items(): print(f"{name:7s} I3 = {I3:+.1f} Y = {Y:+.0f} mass = {BARYON_OCTET[name].mass:8.2f} MeV") .. rst-class:: sphx-glr-script-out .. code-block:: none n I3 = -0.5 Y = +1 mass = 939.57 MeV p I3 = +0.5 Y = +1 mass = 938.27 MeV Sigma- I3 = -1.0 Y = +0 mass = 1197.45 MeV Sigma0 I3 = +0.0 Y = +0 mass = 1192.64 MeV Lambda I3 = +0.0 Y = +0 mass = 1115.68 MeV Sigma+ I3 = +1.0 Y = +0 mass = 1189.37 MeV Xi- I3 = -0.5 Y = -1 mass = 1321.71 MeV Xi0 I3 = +0.5 Y = -1 mass = 1314.86 MeV .. GENERATED FROM PYTHON SOURCE LINES 36-40 The two weight diagrams --------------------------- Each row of constant :math:`Y` is an isospin multiplet, and each row has one more unit of strangeness, and more mass, than the one above it. .. GENERATED FROM PYTHON SOURCE LINES 40-57 .. code-block:: Python fig, axes = plt.subplots(1, 2, figsize=(11, 5)) for ax, diagram, title in ((axes[0], octet, "Baryon octet ($J^P = 1/2^+$)"), (axes[1], nonet, "Meson nonet ($J^P = 0^-$)")): hexagon = [(-0.5, 1), (0.5, 1), (1, 0), (0.5, -1), (-0.5, -1), (-1, 0), (-0.5, 1)] ax.plot(*zip(*hexagon), color="0.7", zorder=0) centre = [name for name, p in diagram.items() if p == (0.0, 0.0)] for name, (I3, Y) in diagram.items(): offset = 0.12 * (centre.index(name) - (len(centre) - 1) / 2) if name in centre else 0.0 ax.scatter(I3 + offset, Y, s=80, color="steelblue") ax.annotate(name, (I3 + offset, Y), textcoords="offset points", xytext=(6, 6)) ax.set_xlabel("$I_3$") ax.set_ylabel("hypercharge $Y$") ax.set_xlim(-1.5, 1.6) ax.set_ylim(-1.5, 1.5) ax.set_aspect("equal") ax.set_title(title) fig.tight_layout() .. image-sg:: /api/gallery/particle/quark_model/images/sphx_glr_plot_01_eightfold_way_octet_001.png :alt: Baryon octet ($J^P = 1/2^+$), Meson nonet ($J^P = 0^-$) :srcset: /api/gallery/particle/quark_model/images/sphx_glr_plot_01_eightfold_way_octet_001.png :class: sphx-glr-single-img .. GENERATED FROM PYTHON SOURCE LINES 58-62 The Gell-Mann-Okubo mass relation ------------------------------------- With isospin-averaged masses, the relation predicts the :math:`\Lambda` from the nucleon, :math:`\Sigma` and :math:`\Xi`. .. GENERATED FROM PYTHON SOURCE LINES 62-70 .. code-block:: Python m_N = np.mean([BARYON_OCTET[n].mass for n in ("p", "n")]) m_Sigma = np.mean([BARYON_OCTET[n].mass for n in ("Sigma+", "Sigma0", "Sigma-")]) m_Xi = np.mean([BARYON_OCTET[n].mass for n in ("Xi0", "Xi-")]) m_Lambda = gell_mann_okubo(m_N, m_Sigma, m_Xi) print(f"\nGMO: m_Lambda = {m_Lambda:.1f} MeV, measured {BARYON_OCTET['Lambda'].mass:.1f} MeV") plt.show() .. rst-class:: sphx-glr-script-out .. code-block:: none GMO: m_Lambda = 1107.1 MeV, measured 1115.7 MeV .. GENERATED FROM PYTHON SOURCE LINES 71-75 Check ----- The octet is a hexagon with two states at its centre, the nonet has three, every member obeys Q = I3 + Y/2, and GMO holds within 1%. .. GENERATED FROM PYTHON SOURCE LINES 75-82 .. code-block:: Python assert list(octet.values()).count((0.0, 0.0)) == 2 and len(octet) == 8 assert list(nonet.values()).count((0.0, 0.0)) == 3 and len(nonet) == 9 for name, (I3, Y) in octet.items(): assert abs(quark_quantum_numbers(BARYON_OCTET[name].quarks)["charge"] - (I3 + Y / 2)) < 1e-10 for name, (I3, Y) in nonet.items(): assert abs(quark_quantum_numbers(MESON_NONET[name].quarks)["charge"] - (I3 + Y / 2)) < 1e-10 assert abs(m_Lambda / BARYON_OCTET["Lambda"].mass - 1) < 0.01 .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.084 seconds) .. _sphx_glr_download_api_gallery_particle_quark_model_plot_01_eightfold_way_octet.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_01_eightfold_way_octet.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_01_eightfold_way_octet.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_01_eightfold_way_octet.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_