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.

meierlab.viz.network_viz.get_atlas_coords#

meierlab.viz.network_viz.get_atlas_coords(atlas_img)[source]#

Helper function to generate atlas coordinates if none are provided.

Parameters:
atlas_imgstr or file path

Path to Nifti atlas/parcellation image.

Returns:
numpy.ndarray

Atlas coordinates.

Examples

>>> from meierlab.viz import network_viz as nv