get_window_output#
- async NDSlicer.get_window_output(indices)[source]#
Take the data slice at the given indices and apply the window functions.
- Parameters:
indices (dict[str, Any]) – Reference-space value for each slider dim, ex:
{"time": 46.397, "depth": 23.24}. Must provide a value for every slider dim.- Returns:
Data slice with the window funcs applied and the slider dims, which are of size
1after windowing, squeezed out. The remaining dims are the spatial dims, in the order they appear indims, not indisplay_dimsdisplay order. Subclasses transpose into display order inget().- Return type:
ArrayProtocol
- Raises:
ValueError – If the number of dims left after squeezing does not equal the number of spatial dims.