Skip to contents

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

Usage

get_optimal_t(srv_procrustes_curves, coefs, t_optims, type, knots, eps, i)

Arguments

srv_procrustes_curves

scaling and rotation aligned srv curves

coefs

mean coefficients

t_optims

current optimal parametrization

type

"smooth" or "polygon"

knots

mean basis knots

eps

convergence tolerance

i

current iteration

Value

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