pyPENELOPE

xraytransition – X-ray transitions information

penelopetools.api.util.xraytransition.get_energy(transition, config_filepath)

Returns the energy (in eV) of the specified transition.

penelopetools.api.util.xraytransition.get_transitions(atomicnumber, config_filepath, beam_energy=1000000.0)

Returns all the transitions for the specified atomic number below the specified beam energy.

Parameters:
  • atomicnumber – atomic number
  • config_filepath – path to the configuration file
  • beam_energy – maximum energy of the allowed transitions (in eV). Default: 1e6 eV
Return type:

list

penelopetools.api.util.xraytransition.get_transitions_materials(materials, config_filepath, beam_energy=1000000.0)

Returns all the transitions for the elements in the materials if they are below the specified beam energy. The transitions are returned in a dictionary where the key is made out of the symbol of the element and the transition, and the value is the energy of the transition.

Parameters:
  • materials (Materials) – materials
  • config_filepath – path to the configuration file
  • beam_energy – maximum energy of the allowed transitions (in eV)
Return type:

dict