q_to_curve: Convert to curve space

View source: R/q_to_curve.R

q_to_curveR Documentation

Convert to curve space

Description

This function converts SRVFs to curves

Usage

q_to_curve(q, scale = 1)

Arguments

q

either a matrix of shape n \times T describing SRVF or SRVF of multidimensional functional data in R^n, where n is the dimension and T is the number of time points

scale

scale of from curve_to_q (default = 1)

Value

beta array describing curve

References

Srivastava, A., Klassen, E., Joshi, S., Jermyn, I., (2011). Shape analysis of elastic curves in euclidean spaces. Pattern Analysis and Machine Intelligence, IEEE Transactions on 33 (7), 1415-1428.

Examples

q <- curve_to_q(beta[, , 1, 1])$q
beta1 <- q_to_curve(q)

fdasrvf documentation built on Oct. 5, 2024, 1:08 a.m.