conpy.forward_to_tangential

conpy.forward_to_tangential(fwd, center=None)

Convert a free orientation forward solution to a tangential one.

Places two source dipoles at each vertex that are oriented tangentially to a sphere with its origin at the center of the brain. Recomputes the forward model according to the new dipoles.

Parameters
fwdinstance of Forward

The forward solution to convert.

centertuple of float (x, y, z) | None

The carthesian coordinates of the center of the brain. By default, a sphere is fitted through all the points in the source space.

Returns
fwd_outinstance of Forward

The tangential forward solution.