Skip to content

Commit

Permalink
now cutting out low energy photons
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Nov 20, 2023
1 parent 2beafd0 commit f69bf1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 61 deletions.
60 changes: 0 additions & 60 deletions tasks/task_07_CSG_cell_tally_spectra/5_neutron_energy_loss_plot.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@
# gets the activated material using the material id
activated_mat = results[i_cool].get_material(str(material_id))
# gets the energy and probabilities for the
energy = activated_mat.get_decay_photon_energy()
energy = activated_mat.get_decay_photon_energy(
clip_tolerance = 1e-6, # cuts out a small fraction of the very low energy (and hence negligible dose contribution) photons
units = 'Bq',
)
strength = energy.integral()

if strength > 0.: # only makes sources for
Expand Down

0 comments on commit f69bf1b

Please sign in to comment.