Slice settings

Image showing just slices from the X axis (left-to-right) in the middle of brain.

CLI

nifti_overlay -A t1.nii.gz --minx 0.4 --maxx 0.6 --nslices 5 -x x

Python

from nifti_overlay import NiftiOverlay

overlay = NiftiOverlay(minx=0.4, maxx=0.6, nslices=5, planes='x')
overlay.add_anat('t1.nii.gz')
overlay.plot()