NDImage#

NDImage#

Constructor#

NDImage(ref_index, nd_subplot, data, dims, ...)

NDGraphic subclass for n-dimensional image rendering.

Properties#

NDImage.clim_quantiles

get or set the (low, high) quantiles of the histogram used as vmin, vmax

NDImage.compute_histogram

whether or not to compute the histogram and display the ImguiColorbar

NDImage.data

get or set managed data.

NDImage.dims

dim names

NDImage.display_dims

Subset of dims that are spatial (rendered) dimensions in display order.

NDImage.graphic

Underlying Graphic object used to display the current data slice

NDImage.histogram_widget

The colorbar associated with this NDGraphic

NDImage.indices

get or set the indices, managed by the ReferenceIndex, users usually don't want to set this manually

NDImage.indices_displayed

the indices that the graphic currently represents

NDImage.name

name given to the NDGraphic

NDImage.ndim

number of dims

NDImage.pause

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

NDImage.shape

interpreted shape of the data

NDImage.slicer

NDSlicer that manages the data and produces data slices to display

NDImage.slider_dims

the slider dims

NDImage.slider_maps

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

NDImage.spatial_func

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

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

NDImage.window_order

get or set dimension order in which window functions are applied

Methods#