myoverse.datasets.filters.generic.FilterBaseClass._filter#

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

Apply the filter to the input array.

This method must be implemented by subclasses.

Parameters:
  • input_array (np.ndarray | list[np.ndarray]) – The input array(s) to filter

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

Returns:

The filtered data as either a single array or a dictionary of arrays. If a dictionary is returned, each key-value pair will be stored as a separate representation in the data processing graph.

Return type:

np.ndarray | Dict[str, np.ndarray]