compute_g: Compute the g function for two sets of channel locations on...

View source: R/current_source_density.R

compute_gR Documentation

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

Description

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

Usage

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)

iter

Number of iterations for calculations

Author(s)

Matt Craddock matt@mattcraddock.com


craddm/eegUtils documentation built on March 1, 2025, 3:23 p.m.