pyPENELOPE

penepma – All the figures from a PENEPMA and PENEPMA2010 simulation

Inheritance diagram of penelopetools.api.figure.penepma

class penelopetools.api.figure.penepma.Figures(results)

Bases: penelopetools.api.figure._Figures

All the figures from the PENEPMA and PENEPMA2010 simulation results. The figures are created from the PENEPMA/PENEPMA2010 results (Results). They can be access via attributes.

The following figures are created:

Parameters:results (Results) – 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
photonspectra

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

Return type:PhotonSpectra
photonspectra_bremsstrahlung

Photon spectra with only Bremsstrahlung photons.

Return type:PhotonBremsstrahlungSpectra
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 figure is returned for each detector.

Return type:PhotonConvolutedSpectra
save(path=None, suffix='', format=['png'])

Save all figures.