find_optimal_t_discrete: Finds optimal alignment for discrete open curves

View source: R/find_optimal_t_discrete.R

find_optimal_t_discreteR Documentation

Finds optimal alignment for discrete open curves

Description

Finds optimal aligned time points for srv curve q to srv curve p using coordinate wise optimization.

Usage

find_optimal_t_discrete(r, p, s, q, initial_t = s, eps = 10^-3)

Arguments

r

time points for p, first has to be 0, last has to be 1

p

square root velocity vectors, one less than time points in r

s

time points for q, first has to be 0, last has to be 1

q

square root velocity vectors, one less than time points in s

initial_t

starting value for the optimization algorithm

eps

convergence tolerance

Value

optimal time points for q, without first value 0 and last value 1 optimal time points have the distance of the observation to the srv_curve as an attribute


elasdics documentation built on June 22, 2024, 12:27 p.m.