sccore (version 0.1.2)

smoothChebyshev: Smooth with Chebyshev Polynomials

Description

Smooth with Chebyshev Polynomials

Usage

smoothChebyshev(
  lap,
  coeffs,
  signal,
  l.max,
  n.cores = 1,
  progress.chunks = 5,
  progress = (progress.chunks > 1)
)

Arguments

lap

graph laplacian

coeffs

numeric vector Chebyshev coefficients for a filter

signal

Matrix or vector Signal to smooth

l.max

numeric maximal eigenvalue of the graph

n.cores

numeric Number of cores for parallel run (default=1)

progress.chunks

numeric Number of chunks per core for estimating progress (default=5). Large values are not suggested, as it may bring overhead.

progress

boolean Flag on whether progress must be shown (default=TRUE, i.e. 'progress.chunks > 1')

Value

smoothed signal

See Also

Other graph smoothing: computeChebyshevCoeffs(), heatFilter(), smoothSignalOnGraph()