jLM.JupyterDisplay#
SpatialModel mixins for rich display in Jupyter
Functions
|
Display slices volumetric data interactively |
Classes
- class jLM.JupyterDisplay.JupyterDisplayMixin[source]#
Bases:
object
- jLM.JupyterDisplay.showVolumeStack(vol, plane='xz', cmap='inferno', scl=None, maxWidth=600, maxHeight=600)[source]#
Display slices volumetric data interactively
- Parameters:
vol (
numpy.ndarray
) – 3-D data- Keyword Arguments:
cmap (str) – Name of matplotlib colormap
plane (str) – Viewing plane, e.g. “xy”
scl (int) – Scale pixels by this amount
maxWidth (int) – Maximum width of image
maxHeight (int) – Maximum height of image