transition_potential_multislice_and_detect

transition_potential_multislice_and_detect#

abtem.multislice.transition_potential_multislice_and_detect(waves, potential, transition_potential, detectors=None, detectors_elastic=None, double_channel=True, threshold=1.0, sites=None, algorithm=FourierMultislice(order=1, expansion_scope='propagator', conjugate=False, transpose=False), scatter_max_batch=1, 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())

Returns:

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

Return type:

Waves or tuple of BaseMeasurement