Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_sourcedepth”.
FT_SOURCEDEPTH computes the distance from the source to the surface of the source compartment (usually the brain). Use as depth = ft_sourcedepth(pos, vol); where pos Nx3 matrix with the position of N sources vol structure describing volume condition model A negative depth indicates that the source is inside the source compartment, positive indicates outside. See also FIND_INSIDE_VOL
Share this page: