NDGraphic#

NDGraphic#

Constructor#

NDGraphic(nd_subplot, name)

Base class that pairs an NDSlicer with a Graphic.

Properties#

NDGraphic.data

get or set managed data.

NDGraphic.dims

dim names

NDGraphic.display_dims

get or set the spatial dims, i.e. the rendered dims, in display order.

NDGraphic.graphic

Underlying Graphic object used to display the current data slice

NDGraphic.indices

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

NDGraphic.indices_displayed

the indices that the graphic currently represents

NDGraphic.name

name given to the NDGraphic

NDGraphic.ndim

number of dims

NDGraphic.pause

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

NDGraphic.shape

interpreted shape of the data

NDGraphic.slicer

NDSlicer that manages the data and produces data slices to display

NDGraphic.slider_dims

the slider dims

NDGraphic.slider_maps

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

NDGraphic.spatial_func

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

NDGraphic.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)}.

NDGraphic.window_order

get or set dimension order in which window functions are applied

Methods#