pyPENELOPE

penepma – All the results from a PENEPMA and PENEPMA2010 simulation

Inheritance diagram of penelopetools.api.result.penepma

class penelopetools.api.result.penepma.Results(path)

Bases: penelopetools.api.result._Results

All the results output by a PENEPMA and PENEPMA2010 simulation. They can be access via attributes. The following results are read:

Parameters:path – folder containing the simulation results
angular_distribution

Angular distribution of electrons and photons.

Return type:Angular
energy_distribution

Energy distribution of backscattered and transmitted electrons and photons.

Return type:Energy
log

Log of the last dump.

Return type:LogTail
photonspectra_bremsstrahlung

Photon spectra with only Bremsstrahlung photons.

Return type:PhotonBremsstrahlungSpectra
photonspectra_characteristic

Characteristic photon spectra: spectra with only the X-ray peaks (i.e. no background). A spectrum is returned for each detector.

Return type:PhotonCharacteristicSpectra
photonspectra_convoluted

Convoluted photon spectra: full photon spectra where the X-ray peaks are convoluted to simulate real spectra collected by an EDS detector. A spectrum is returned for each detector.

Return type:PhotonFluorescenceSpectra
photonspectra_full

Full photon spectra: spectra with the X-ray peaks and background. A spectrum is returned for each detector.

Return type:PhotonFullSpectra
save(path=None, suffix='')