clip.spec(uncspec, beg, endd)

Suppose that uncspec = uncor.spec(x). The routine returns the last endd-beg+1 elements of uncor.spec(x[1:endd]).

In particular, clip.spec(uncspec, 1, endd) is equivalent to uncor.spec(x[1:endd]).

This routine should not be used unless absolutely necessary. It is needed for other functions of the package to work.

uncspec The uncorrected Haar spectrum of a process. To obtain the spectrum, use uncor.spec.
beg, endd See above.

TT TT = endd - beg + 1
S The "clipped" Haar spectrum sequence. Not to be accessed directly by the user.