allocate_measurement#
- abtem.multislice.allocate_measurement(waves, detector, extra_ensemble_axes_shape, extra_ensemble_axes_metadata)[source]#
Allocate a measurement matching the given wave functions and detector.
- Parameters:
waves (BaseWaves) – The wave functions to derive the allocated measurement from.
detector (BaseDetector) – The detector to derive the allocated measurement from.
extra_ensemble_axes_shape (tuple of int, optional) – The shape of additional ensemble axes not in the waves.
extra_ensemble_axes_metadata (list of AxisMetadata) – The axes metadata of additional ensemble axes not in the waves.
- Returns:
allocated_measurement – The allocated measurement
- Return type: