get#

async PandasSlicer.get(indices)[source]#

Get the data slice to display at the given indices.

Stacks the columns of each graphic into a [n_graphics, p, 3] array for the current display window, then applies the datapoints_window_func and spatial_func. Entries of columns that name only (x, y) leave the z coordinate as 0.

Parameters:

indices (dict[str, Any]) – Reference-space value for the p dim, ex: {"time": 46.397}.

Returns:

"data" holds the data slice, the remaining keys are the windowed graphic features.

Return type:

dict[str, np.ndarray]