Convert Compton profile binding energies to eV in IncidentPhoton.from_ace()

This commit is contained in:
amandalund 2018-07-18 15:57:53 -05:00
parent 85205b338c
commit e97115b443

View file

@ -468,7 +468,8 @@ class IncidentPhoton(EqualityMixin):
# Get binding energy for each shell
idx = ace.jxs[7]
data.compton_profiles['binding_energy'] = ace.xss[idx : idx+n_shell]
e = ace.xss[idx : idx+n_shell]*EV_PER_MEV
data.compton_profiles['binding_energy'] = e
# Create Compton profile for each electron shell
profiles = []