R/current_source_density.R
compute_g.Rd
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)
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) |