multislice_and_detect

multislice_and_detect#

abtem.multislice.multislice_and_detect(waves, potential, detectors=None, algorithm=FourierMultislice(order=1, expansion_scope='propagator', conjugate=False, transpose=False), return_backscattered=False, pbar=False)[source]#

Calculate the full multislice algorithm for the given batch of wave functions through a given potential, detecting at each of the exit planes specified in the potential.

Parameters:
  • waves (Waves) – A batch of wave functions as a Waves object.

  • potential (BasePotential) – A potential as BasePotential object.

  • detectors ((list of) BaseDetector, optional) – A detector or a list of detectors defining how the wave functions should be converted to measurements after running the multislice algorithm.

  • algorithm (FourierMultislice or RealSpaceMultislice, optional) – Algorithm used for multislice operator (default is FourierMultislice())

  • return_backscattered (bool, optional) – If algorithm.expansion_scope=”full” and return_backscatter is True, then the backscattered components are also returned. Requires potential exit_planes

Return type:

Union[BaseMeasurements, Waves, list[Union[BaseMeasurements, Waves]]]