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.get_rectangular_projection(node, size=5, zoom=5)[source]ΒΆ

Project 2D rectangular grid defined in node tangent space into 3D spherical space.

Parameters:

node : array (3, )

a point in the sphere.

size : int, default 5

the rectangular grid size.

zoom : int, default 5

scale factor applied on the unit sphere to control the neighborhood density.

Returns:

grid_in_sphere : array (size**2, 3)

zoomed rectangular grid on the sphere.

grid_in_tplane : array (size**2, 3)

zoomed rectangular grid in the tangent space.

Follow us

© 2025, nidl developers