Plot Transfer Function
DESCRIPTION: Plot transfer functions of wavelet filters.
This function is an S Version 3 generic (see Methods);
method functions can be written to handle specific
S Version 3 classes of data. Classes which already
have methods for this function include:
wave.filter, wp
.
USAGE:
transfer.plot(f, x=NULL, phase=F, full.period=F, J=8, plot=T,
i0=filter.start(f), ...)
REQUIRED ARGUMENTS:
f
an object of class
"wave.filter" or
"wp", or a numeric vector.
OPTIONAL ARGUMENTS:
x
a vector at which the transfer function will be computed;
when
x is not
NULL,
full.period is set to
TRUE.
See below for more details.
phase
logical flag: if
TRUE, the phase of the transfer function is plotted;
otherwise the amplitude of the transfer function is plotted.
full.period
logical flag in effect only when
phase=FALSE; if
TRUE,
a full period of the transfer function is plotted.
J
a positive integer, see below for details.
plot
logical flag: if
TRUE, a plot is created.
i0
shift parameter indicating where the filter starts.
VALUE:
when
f is an object of class
"wp", returns a list of complex vectors;
otherwise returns a complex vector.
Graphical parameters may also be supplied as arguments to
this function (see
).
SIDE EFFECTS:
when
f is an object of
wp, a stack plot of transfer functions for
all crystals is produced; otherwise, a plot of transfer function is produced.
DETAILS:
SEE ALSO:
,
.