Skip to main content

make_resolution_matrix

Function make_resolution_matrix 

Source
pub fn make_resolution_matrix(
    inv: &InverseOperator,
    fwd: &ForwardOperator,
    lambda2: f64,
    method: InverseMethod,
) -> Result<Array2<f64>>
Expand description

Compute the resolution matrix R = K @ G.

§Arguments

  • inv — Inverse operator.
  • fwd — Forward operator (must match the one used to build inv).
  • lambda2 — Regularisation parameter.
  • method — Inverse method.

§Returns

Resolution matrix of shape [n_sources, n_sources] for fixed orientation, or [n_sources, n_sources] (XYZ combined) for free orientation.