myoverse.datasets.filters.generic.IndexDataFilter._filter#

IndexDataFilter._filter(input_array, **kwargs)[source]#

Apply the indices to the input array.

This method directly applies the indices to the input array using NumPy’s indexing system, which supports basic slicing, integer array indexing, boolean masks, ellipsis, and advanced indexing.

Parameters:
  • input_array (np.ndarray) – The input array to index

  • **kwargs – Additional keyword arguments from the Data object

Returns:

The indexed array

Return type:

np.ndarray