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 # interactive tutorial
Starting without a file opens a generated 4-D lesson. It teaches navigation, colormaps, playback, histograms and the display range, rotating, zoom, mosaic and projections, FFT and log scale, pixel values, the 3-plane view, side by side, comparing two arrays, overlays, ROIs, vector fields and stacks. The lesson advances only after you perform each action; sections can be skipped, restarted, or resumed after a reload.
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 .gipl
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