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.order_of_ico_from_vertices(n_vertices)[source]ΒΆ

Get the order of an icosahedron from his number of vertices.

Parameters:

n_vertices : int

the number of vertices of an icosahedron.

Returns:

order : int

the order of the icosahedron

Examples

>>> from surfify.utils import order_of_ico_from_vertices, icosahedron
>>> ico3_verts, ico3_tris = icosahedron(order=3)
>>> order = order_of_ico_from_vertices(len(ico3_verts))
>>> print(order)

Follow us

© 2025, nidl developers