pub fn orthogonal_matching_pursuit<T>(
signal: &Signal<T>,
dictionary: &dyn Dictionary<T>,
max_iterations: usize,
tolerance: f64,
) -> Result<MatchingPursuitResult<T>>Expand description
Orthogonal Matching Pursuit algorithm
Improved version of MP that orthogonalizes selected atoms, ensuring monotonic decrease in residual energy and better reconstruction.
§Arguments
signal- Input signal to decomposedictionary- Dictionary of atomsmax_iterations- Maximum number of iterationstolerance- Stop when residual energy drops below this threshold
§Returns
Sparse decomposition result