Programmer Guide/Command Reference/EVAL/mapmind: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
mapmind
The mapmind
EVAL
sub-command implements a non-linear alignment algorithm for two parameter sets (each defined by a vector or matrix). The method minimizes the accumulated Euclidean distance of the two sets. The result is a two column matrix containing the index map of the alignment (col 1 = indices of set 1, col 2 = indices of set 2). The function also implements a method to create a mapped-copy of the sets.
Usage:
map := mapmind(0, a, b)
Parameters:
- a, b
- Are arrays with nrow() > 2 and ncol(x1) == ncol(x2).
- Each row defines one parameter set (e.g. for a frame).
Result:
An index map for vectors a and b with the minimum distance matrix with 2 columns, 1st column is index(a), 2nd column = index(b).
The number of rows is the length of the aligned path
Usage:
map := mapmind(1, map, x)
Parameters:
- map
- A vector containing the index map.
- x
- A vector or matrix to copy or remap.
Result:
mappedX[ rows(map), columns(x) ]