Interpolate spectrum
SpecInterpolate.RdInterpolate a spectrum to a given frequency resolution. The interpolation includes the spectral estimates themselves as well as their degrees of freedom.
Arguments
- spec
a spectral object of class
"spec"or a list with the minimum componentsfreq,specanddofwhich are vectors of the same length giving the original frequency resolution and the corresponding spectral estimates and degrees of freedom.- freqRef
numeric vector with the target frequency resolution.
- check
logical; if
TRUE(the default)specis checked for being a proper spectral object. This can be turned off in programmatic use when the respective check has already been performed.