stack#
- abtem.array.stack(arrays, axis_metadata=None, axis=0)[source]#
Join multiple array objects (e.g. Waves and BaseMeasurement) along a new ensemble axis.
- Parameters:
arrays (sequence of array objects) – Each abTEM array object must have the same type and shape.
axis_metadata (AxisMetadata) – The axis metadata describing the new axis.
axis (int) – The ensemble axis in the resulting array object along which the input arrays are stacked.
- Returns:
array_object – The stacked array object of the same type as the input.
- Return type: