17 from nucleus_class 
import nucleus
 
   21 path_barriers      = 
'fission_barriers_frdm.dat' 
   24 path_exp_halflifes = 
'sf_halflife.csv' 
   28 Z,N,A,B=np.loadtxt(path_barriers,unpack=
True)
 
   32 df = pd.read_csv(path_exp_halflifes)
 
   33 df[
'sf_halflife'] = pd.to_numeric(df[
'sf_halflife'],errors=
'coerce')
 
   34 df = df[np.isfinite(df[
'sf_halflife'])]
 
   35 hl_exp = df[
'sf_halflife'].values
 
   40       Calculate the half-life as in Khuyagbaatar 2020. 
   41       The link to the paper is the following: 
   42       https://ui.adsabs.harvard.edu/abs/2020NuPhA100221958K/abstract 
   43       Here, we use the fit of the FRDM data (Eq. 3) in combination with 
   47     hqueromega = 0.14025*Z**2/A-4.6335
 
   48     T = (1+np.exp(np.pi*2*B/hqueromega))**(-1)
 
   49     hquer = 6.582119514e-16
 
   50     n = hqueromega/hquer/(2*np.pi)
 
   72 for ind,ztmp 
in enumerate(Z):
 
   74     if (ztmp>zmax) 
or (ztmp <zmin):
 
   77     nuc.append(nucleus(Z=int(Z[ind]),N=int(N[ind])).
get_name())
 
   79     if np.any((df[
"z"]==ztmp) & (df[
"n"]==N[ind])):
 
   80         ht = hl_exp[(df[
"z"]==ztmp) & (df[
"n"]==N[ind])][0]
 
   85             t05.append(
T05(ztmp,N[ind],B[ind]))
 
   87         t05.append(
T05(ztmp,N[ind],B[ind]))
 
  101 for ind,n 
in enumerate(nuc):
 
  102     if t05[ind]>thalf_max:
 
  104     if t05[ind]<thalf_min:
 
  108     a0 = np.log(np.log(2)/t05[ind])
 
  110     out += 
'     '+n.rjust(5)+33*
' '+
'sfis'+4*
' '+
'{:13.6e}'.
format(0)+
'\n' 
  111     out += 
'{:13.6e}'.
format(a0)+3*
'{:13.6e}'.
format(0)+
'\n' 
  112     out += 3*
'{:13.6e}'.
format(0)+
'\n' 
  116 with open(
"frdm_sfis.dat",
"w") 
as f: