Skip to content

arrayview

A viewer for multi-dimensional arrays.

  • CLI and Python
  • Jupyter / VS Code
  • Browser / native
  • SSH / tunnels

CLI

uvx arrayview scan.nii.gz
uvx arrayview volume.npy
uvx arrayview                    # demo

Python

from arrayview import view
import numpy as np

view(np.random.rand(256, 256, 32))

Works in scripts, Jupyter notebooks, and VS Code interactive windows.

MATLAB and Julia setup: MATLAB and Julia.

Remote and tunnel setup: Remote.

Stacked patient collections and masks: Stack and Overlay Collections.

Formats

.npy .npz .nii .nii.gz .zarr .pt .h5 .tif .mat

Optional libraries (nibabel, zarr, torch, h5py, tifffile, scipy) are imported only when needed.

Once open

c colormaps · d histogram · v 3-plane · z mosaic · ? help