pyPENELOPE

intensity – Photon intensities (detected and generated)

Inheritance diagram of penelopetools.api.result.penepma2011.intensity

class penelopetools.api.result.penepma2011.intensity.GeneratedIntensityTable(path)

Bases: penelopetools.api.result.penepma2011.intensity.IntensityTable

class penelopetools.api.result.penepma2011.intensity.IntensityTable(filename, path, name)

Bases: penelopetools.api.result._DataResult

BREMSSTRAHLUNG = 'B'
CHARACTERISTIC = 'C'
ENERGY = 'energy'
PRIMARY = 'P'
TOTAL = 'T'
TOTAL_FLUORESCENCE = 'TF'
atomicnumbers()

Returns the atomic numbers for which an intensity was measured.

bremsstralung_intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons produced by fluorescence of the continuum.

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
characteristic_intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons produced by fluorescence of primary photons.

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
dump(writer)
fluorescence_intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons produced by fluorescence (i.e. from primary and Bremsstralung photons).

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons.

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
primary_intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons produced by electrons.

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
save(path=None, suffix='')
total_fluorescence_intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons produced by fluorescence (i.e. from primary and Bremsstralung photons).

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
total_intensity(atomicnumber=None, src=None, dest=None, transition=None)

Returns the intensity and its error of the characteristic photons.

Parameters:
  • atomicnumber – atomic number
  • src – source subshell
  • dest – destination subshell
transitions(atomicnumber, energy_low=0.0, energy_high=1000000.0)

Returns all the X-ray transitions for the specified atomic number if the energy of these transitions is between the specified energy limits. The energy limits are inclusive.

The transitions have the following attributes:

  • energy
  • primary_intensity
  • characteristic_intensity
  • bremsstralung_intensity
  • total_fluorescence_intensity or fluorescence_intensity
  • total_intensity or intensity
Parameters:
  • atomicnumber – atomic number
  • energy_low – lower energy limit in eV (default: 0 eV)
  • energy_high – upper energy limit in eV (default: 1 MeV)
class penelopetools.api.result.penepma2011.intensity.IntensityTables(path)

Bases: dict, penelopetools.api.result._Results

MATCH_PATTERN = 'pe-inten-(\\d+).dat'
save(path=None, suffix='')