Menu

Deep learning for NeuroImaging in Python.

Note

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

surfify.utils.sampling.number_of_ico_vertices(order=3)[source]ΒΆ

Get the number of vertices of an icosahedron of specific order.

Parameters:

order : int, default 3

the icosahedron order.

Returns:

n_vertices : int

number of vertices of the corresponding icosahedron

Examples

>>> from surfify.utils import number_of_ico_vertices, icosahedron
>>> ico3_verts, ico3_tris = icosahedron(order=3)
>>> n_verts = number_of_ico_vertices(order=3)
>>> print(n_verts, ico3_verts.shape)

Follow us

© 2025, nidl developers