A duration- and amplitude-robust smoothness measure computed from the normalized Fourier magnitude spectrum of a speed profile. More negative = less smooth. A smooth minimum-jerk movement is approximately -1.4.
References
Balasubramanian S, Melendez-Calderon A, Roby-Brami A, Burdet E (2015). "On the analysis of movement smoothness." J NeuroEng Rehabil 12:112.
Examples
t <- seq(0, 1, length.out = 200); tau <- t
speed <- 30 * tau^2 - 60 * tau^3 + 30 * tau^4 # minimum-jerk speed
sparc(speed, fs = 200)
#> [1] -1.403567