Description Usage Arguments Details Value Author(s) See Also Examples
Calculates values of the chosen optimization criterion (RMS or WCC) on a grid defined by the coefficients of the warping function.
1 2 3 4 5 |
ref |
reference. Either a vector (containing one reference signal) or a matrix (one reference per row). If more than one reference is specified, the number of reference signals must equal the number of sample signals |
samp |
sample. A vector (containing one sample signal) or a matrix (one sample per row). If more than one sample is specified, the number of sample signals must equal the number of reference signals |
selected.traces |
optional vector containing the row numbers to
use from |
coef.mins |
a vector containing the respective minimal values of coefficients for the grid. The first number is the minimal zeroth-order coefficient (i.e., a constant shift); further numbers indicate the minimal linear, quadratic, ... stretches |
coef.maxs |
a vector containing the maximal values of coefficients for the grid |
coef.lengths |
a vector of the same length as coef.maxs and coef.mins containing the number of steps in which to vary the respective coefficients between their minimum and maximum value |
optim.crit |
either |
smooth.param |
smoothing parameter for smoothing the reference
and sample when |
.
trwdth |
the width of the triangle in the WCC criterion during the optimization, given as a number of data points. Default: 20 |
In contrast to ptw, only the three situations leading to one warping function are distinguished here:
One sample and one reference;
Several samples, warped to an equal number of references (pair-wise);
Several samples, warped to a single reference.
Which situation is applicable is determined from the dimensions of
ref
and samp
.
An array of dimension length(coef.mins)
and maximal indices
per dimension specified by coef.lengths
Tom Bloemberg, Jan Gerretzen, Ron Wehrens
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.