NDTimeseries#

NDTimeseries#

Constructor#

NDTimeseries(ref_index, nd_subplot, data, ...)

NDPositions subclass for timeseries data, where the p dim is a time-like x-axis.

Properties#

NDTimeseries.cmap

get or set the cmap of the graphics

NDTimeseries.cmap_range

get or set the cmap_range of the graphics

NDTimeseries.cmap_transform

get or set the cmap_transform of the graphics

NDTimeseries.colors

get or set the colors of the graphics

NDTimeseries.data

get or set managed data.

NDTimeseries.datapoints_window_func

Get or set the window function applied along the p dim, as (func, apply_dims, window_size).

NDTimeseries.dims

dim names

NDTimeseries.display_dims

(n_graphics, p, <value dim>).

NDTimeseries.display_range

The current range of the display window, [min, max], in reference units of the p dim.

NDTimeseries.display_window

Get or set the display window, in the reference units of the p dim.

NDTimeseries.graphic

Underlying Graphic object used to display the current data slice, None if the data is None

NDTimeseries.graphic_type

Get or set the graphical representation used to display the data slice.

NDTimeseries.indices

the current index of each slider dim in reference-space units, from the ReferenceIndex

NDTimeseries.indices_displayed

the indices that the graphic currently represents

NDTimeseries.markers

get or set the markers of the graphics

NDTimeseries.max_display_datapoints

Get or set the maximum number of datapoints rendered per graphic.

NDTimeseries.name

name given to the NDGraphic

NDTimeseries.ndim

number of dims

NDTimeseries.pause

Get or set whether this graphic ignores changes in the ReferenceIndex.

NDTimeseries.shape

interpreted shape of the data

NDTimeseries.sizes

get or set the sizes of the graphics

NDTimeseries.slicer

NDSlicer that manages the data and produces data slices to display

NDTimeseries.slider_dims

the slider dims

NDTimeseries.slider_maps

Get or set the per-slider-dim mapping from reference-space values to local array indices, {dim_name: transform}.

NDTimeseries.spatial_func

Get or set the function applied to the spatial slice after the window funcs, right before rendering.

NDTimeseries.thickness

get or set the thickness of the graphics

NDTimeseries.window_funcs

Get or set the per-slider-dim window functions applied around the current slider position, {dim_name: (func, window_size)}, ex: {"time": (np.mean, 2.5)}.

NDTimeseries.window_order

get or set dimension order in which window functions are applied

NDTimeseries.x_range_mode

Get or set how the camera x-range is coupled to the p dim.

Methods#

NDTimeseries.init(ref_index, data, dims, ...)

Set up the slicer and per-graphic state, i.e. everything except creating the graphic.