Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
review fixes
  • Loading branch information
shimwell committed Apr 9, 2026
commit 5e7ac0e0b1e0fc1a79bb1ea49311298a3d24d7c9
7 changes: 6 additions & 1 deletion src/endf/incident_photon.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
517: 'pair_production_nuclear',
522: 'photoelectric',
525: 'heating',
526: 'electro_atomic_scat',
527: 'electro_atomic_brem',
528: 'electro_atomic_excit',
}
for _i, _shell in enumerate(_SUBSHELLS[1:], 1):
PHOTON_REACTION_NAME[533 + _i] = _shell
Expand Down Expand Up @@ -282,6 +285,7 @@ def __init__(self, atomic_number: int):
self.atomic_number = atomic_number
self.reactions = {}
self.atomic_relaxation = None
self.compton_profiles = {}

@classmethod
def from_endf(
Expand Down Expand Up @@ -319,8 +323,9 @@ def from_endf(
rx = PhotonReaction(MT, xs=rx_data['sigma'])

# Set subshell binding energy and fluorescence yield
if 534 <= MT <= 572:
if 534 <= MT <= 599:
rx.subshell_binding_energy = rx_data['EPE']
if 534 <= MT <= 572:
rx.fluorescence_yield = rx_data['EFL']

data.reactions[MT] = rx
Expand Down