The method by which constrain_tapers
refines tapers is
set with the constraint.method
argument:
'simple.slope'
use ctap_simple
'loess.smooth'
uses ctap_loess
'none'
returns unbounded tapers.
minspan
bounds the number of tapers to within
the minimum of either the maximum number of tapers found in the object,
or the half-length of the series, which is necessary because
it would be nonsense to have more tapers than the length of the series.
Details of the constraint methods:
via first differencing (the default)
ctap_simple
is the preferred constraint method.
The algorithm uses first-differencing to modify the number
of tapers in the previous position. Effectively, the constraint
is based on a causal, 1st-order Finite Impulse-response Filter (FIR)
which makes the method sensitive to rapid changes in the number of tapers;
naturally, smoother spectra tend to produce less fluctuation in taper numbers,
which makes this well suited for adaptive processing.
This produces, generally, the most
stable results, meaning repeatedly running the constraint will not change values
other than on the first execution; the same cannot be said for the other
methods, which are also considerably more expensive to use.
via LOESS smoothing
ctap_loess
uses loess
to smooth the taper vector; is
can be very slow thanks to quadratic scaling.