Giving credit

Table Of Contents

Previous topic

7.10.1. nilearn.plotting.find_cut_slices

Next topic

7.10.3. nilearn.plotting.plot_anat


This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

7.10.2. nilearn.plotting.find_xyz_cut_coords

nilearn.plotting.find_xyz_cut_coords(img, mask=None, activation_threshold=None)

Find the center of the largest activation connected component.


img : 3D Nifti1Image

The brain map.

mask : 3D ndarray, boolean, optional

An optional brain mask.

activation_threshold : float, optional

The lower threshold to the positive activation. If None, the activation threshold is computed using the 80% percentile of the absolute value of the map.


x : float

the x world coordinate.

y : float

the y world coordinate.

z : float

the z world coordinate.