Wspec-class {tuneR} | R Documentation |
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
object.
Redundancy (e.g. same frequencies in each of the periodograms) will be omitted,
hence reducing memory consumption.
The subset function “[
” extracts the selected
elements of slots spec
, starts
, variance
and energy
and returns the other slots unchanged.
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
:"numeric"
spec
:"list"
kernel
:"ANY"
df
:"numeric"
taper
:"numeric"
width
:"numeric"
overlap
:"numeric"
normalize
:"logical"
starts
:"numeric"
stereo
:"logical"
samp.rate
:"numeric"
variance
:"numeric"
energy
:"numeric"
Uwe Ligges, ligges@statistik.tu-dortmund.de
show
, plot
and summary
methods,
periodogram
(and hence also spec.pgram
, Wave-class, and Wave
)
WspecMat
for a similar class that represents the spectrum in form of a matrix.