get_optimal_t: Finds optimal alignment for discrete open curves

View source: R/get_optimal_t.R

get_optimal_tR 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

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


elastes documentation built on Aug. 21, 2023, 5:12 p.m.