get#

async NDImageSlicer.get(indices)[source]#

Get the data at the given index, process data through the window functions.

Note that we do not use __getitem__ here since the index is a tuple specifying a single integer index for each dimension. Slices are not allowed, therefore __getitem__ is not suitable here.

Parameters:

indices (tuple[int, ...]) – Get the processed data at this index. Must provide a value for each dimension. Example: get((100, 5))

Return type:

ArrayProtocol