Class “Wspec” (Wave spectrums).
Objects of this class represent a bunch of periodograms
(see periodogram
, each generated by spectrum
)
corresponding to one or several windows of one Wave
or WaveMC
object.
Redundancy (e.g. same frequencies in each of the periodograms) will be omitted,
hence reducing memory consumption.
Objects can be created by calls of the form new("Wspec", ...)
,
but regularly they will be created by calls to the function periodogram
.
The following slots are defined. For details see the constructor function periodogram
.
freq
:Object of class "numeric"
.
spec
:Object of class "list"
.
kernel
:Object of class "ANY"
.
df
:Object of class "numeric"
.
taper
:Object of class "numeric"
.
width
:Object of class "numeric"
.
overlap
:Object of class "numeric"
.
normalize
:Object of class "logical"
.
starts
:Object of class "numeric"
.
stereo
:Object of class "logical"
.
samp.rate
:Object of class "numeric"
.
variance
:Object of class "numeric"
.
energy
:Object of class "numeric"
.
Uwe Ligges ligges@statistik.tu-dortmund.de
The subset function “[
” extracts the selected
elements of slots spec
, starts
, variance
and energy
and returns the other slots unchanged.
the show
, plot
and summary
methods,
for the constructor function and some examples: periodogram
(and hence also spec.pgram
, Wave-class, Wave
, WaveMC-class, and WaveMC
)
WspecMat
for a similar class that represents the spectrum in form of a matrix.