Note

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.

nilearn.utils.all_functions

nilearn.utils.all_functions()[source]

Get a list of all functions from nilearn.

Returns:
functionslist of tuple

List of (name, function), where name is the function name as string and function is the actual function.

Examples

>>> from nilearn.utils import all_functions
>>>
>>> functions = all_functions()
>>>
>>> print(f"Nilearn's API has {len(functions)} public functions.")
Nilearn's API has 172 public functions.