5.3. Experimental hyper-nuclei with 1 Xi#
In this tutorial, you will learn how to get experimental data associated to hyper-nuclei.
Import the libraries that will be employed in this tutorial.
# Import numpy
import numpy as np
# Import matplotlib
import matplotlib.pyplot as plt
# Import nucleardatapy package
import nucleardatapy as nuda
You can simply print out the properties of the nuda’s function that we will use:
# Explore the nucleardatapy module to find the correct attribute
print(dir(nuda.hnuc.setupRE1XiExp))
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'print_latex', 'print_outputs']
Set the experimental tables for 1-Lambda hyper-nuclei:
tables, tables_lower = nuda.hnuc.re1Xi_exp_tables()
print('tables:',tables)
tables: ['2015-1Xi-Nakazawa']
Select a table:
table1Xi = '2015-1Xi-Nakazawa'
Instantiate hnuc
:
hnuc = nuda.hnuc.setupRE1XiExp( table = table1Xi )
hnuc.print_outputs()
- Print output:
table: 2015-1Xi-Nakazawa
ref: K.Y. Nakazawa, S. Endo, K. Fukunaga, S.H. Hoshino et al., PTEP 033D02 (2015).
key: KNakazawa:2015
label: []
note: write here notes about this table.
A: [15]
Z: [7]
N: [7]
S: [-2]
Q: [6]
symb: ['N']
xibe: [4.378]
xibe_err: [0.25]