multislice_and_detect

multislice_and_detect#

abtem.multislice.multislice_and_detect(waves, potential, detectors=None, conjugate=False, transpose=False, pbar=False, method='conventional', **kwargs)[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.

  • conjugate (bool, optional) – If True, use the complex conjugate of the transmission function (default is False).

  • transpose (bool, optional) – If True, reverse the order of propagation and transmission (default is False).

Returns:

measurements – Exit waves or detected measurements or lists of measurements.

Return type:

Waves or tuple of BaseMeasurement