jarvis.analysis.stem.convolution_apprx¶
Module to simulate STEM images using convoltuin approximation.
Classes¶
Module to simulate STEM images using convoltuin approximation. |
Module Contents¶
- class jarvis.analysis.stem.convolution_apprx.STEMConv(atoms=None, output_size=[50, 50], power_factor=1.7, gaussian_width=0.5, lorentzian_width=0.5, intensity_ratio=0.5, nbins=100, tol=0.5, crop=False)[source]¶
Bases:
objectModule to simulate STEM images using convoltuin approximation.
- atoms = None¶
- output_size = [50, 50]¶
- power_factor = 1.7¶
- gaussian_width = 0.5¶
- lorentzian_width = 0.5¶
- intensity_ratio = 0.5¶
- nbins = 100¶
- tol = 0.5¶
- crop = False¶
- simulate_surface(atoms: jarvis.core.atoms.Atoms, px_scale: float = 0.2, eps: float = 0.6, rot: float = 0, shift: List = [0, 0])[source]¶
Simulate a STEM image.
atoms: jarvis.core.Atoms material slab px_scale: pixel size in angstroms/px eps: tolerance factor (angstroms) for rendering atoms outside the field of view rot: rotation about the image center (degrees) shift: rigid translation of field of view [dx, dy] (angstroms)