surfa.mesh.sphere.SphericalResamplingNearest#

class surfa.mesh.sphere.SphericalResamplingNearest(source, target)#

Nearest-neighbor map to transfer vertex information between two aligned spheres. The computed map will interpolate scalars from the source surface mesh to the target surface mesh.

Parameters

Methods

sample(overlay)#

Sample overlay values.

Parameters

overlay (Overlay) – Scalar point values to resample to the target sphere graph from the source sphere mesh.

Returns

resampled

Return type

Overlay