We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73bff0f commit 57f7723Copy full SHA for 57f7723
nibabel/imagestats.py
@@ -38,6 +38,7 @@ def mask_volume(img, units='mm3'):
38
Examples
39
--------
40
>>> import nibabel as nf
41
+ >>> path = 'path/to/nifti/mask.nii'
42
>>> img = nf.load(path) # path is contains a path to an example nifti mask
43
>>> mask_volume(img)
44
50.3021
0 commit comments