pyEELSMODEL.operators.simulator package

Submodules

pyEELSMODEL.operators.simulator.coreloss_simulator module

class pyEELSMODEL.operators.simulator.coreloss_simulator.CoreLossSimulator(multispecshape, elements, edges, maps, tlambda_map, settings)

Bases: Operator

Coreloss EELS spectrum simulator for maps. This uses the atomic cross sections for the edge shapes. The simulated low loss is consists out of the zer-loss peak and the bulk plasmons. Note that the low loss is only used to modify the shape of the edges and the background. Hence the real shape is not so important. The background in the core-loss is found by convolving a powerlaw with the background to include multiple scattering.

add_shift()

Shifts both low loss and core loss with a sine function. The amplitude is 0.5% of the energy range and the period is chosen such that 20 periods are in the STEM-EELS map.

get_background(ll)

Return the background dependent on the bg_method attribute.

Parameters:

ll (MultiSpectrum) – The low loss multispectrum.

make_coreloss()

Calculated the core-loss multispectrum.

make_elements()

Makes a list containing the atomic core-loss edges.

make_lowloss()

Creates the low loss multispectrum using the information on the zero- loss peak (fwhm) and bulk plasmon (Ep, tlambda, Ew, beta).

simulate_multispectrum()

Module contents