R/current_source_density.R
compute_h.Rd
Compute the h function for two sets of locations of channel locations on the unit sphere.
compute_h(xyz_coords, xyz_elecs, m = 4, iter = 50)
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) |
iter | iterations for calculations |
lambda | smoothing parameter |