Compute the g function for two sets of locations of channel locations on the unit sphere.

compute_g(xyz_coords, xyz_elecs, m = 4, iter = 7)

Arguments

xyz_coords

A set of electrode locations on a unit sphere.

xyz_elecs

A set of electrode locations on a unit sphere.

m

Interpolation constant (higher = less flexible)