surfa.mesh.sphere.SphericalResamplingBarycentric#

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

Barycentric 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