Skip to content

Commit

Permalink
Merge pull request #46 from aidancrilly/Hale_TT_reac
Browse files Browse the repository at this point in the history
Correct MeV to keV conversion
  • Loading branch information
aidancrilly authored Sep 18, 2024
2 parents 8bbb153 + 7036239 commit c1a8ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NeSST/spectral_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def matrix_interpolate_gaussian(self,E,vbar,dv):
# TT_reac_data = np.loadtxt(data_dir + "TT_reac_ENDF.dat") # sigmav im m^3/s # From ENDF
# TT_reac_spline = interpolate_1d(TT_reac_data[:,0],TT_reac_data[:,1],method='linear',bounds_error=False,fill_value=0.0)
TT_reac_data = np.loadtxt(data_dir + "TT_reac_Hale.dat") # T in MeV, sigmav im cm^3/s # From Hale
TT_reac_spline = interpolate_1d(TT_reac_data[:,0]*1e-3,TT_reac_data[:,1]*1e-6,method='linear',bounds_error=False,fill_value=0.0)
TT_reac_spline = interpolate_1d(TT_reac_data[:,0]*1e3,TT_reac_data[:,1]*1e-6,method='linear',bounds_error=False,fill_value=0.0)

########################
# Primary reactivities #
Expand Down

0 comments on commit c1a8ad7

Please sign in to comment.