myoverse.datasets.filters.generic.FilterBaseClass.__call__#
- FilterBaseClass.__call__(input_array, **kwargs)[source]#
Apply the filter to the input array.
- Parameters:
input_array (np.ndarray | list[np.ndarray]) – The input array(s) to filter
**kwargs – Additional keyword arguments from the Data object. These will be set as attributes on the filter instance if they don’t already exist, making them available in the _filter method.
- 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]