resample {squat} | R Documentation |
QTS Resampling
Description
This function performs uniform resampling using SLERP.
Usage
resample(x, tmin = NA, tmax = NA, nout = 0L, disable_normalization = FALSE)
## S3 method for class 'qts'
resample(x, tmin = NA, tmax = NA, nout = 0L, disable_normalization = FALSE)
## S3 method for class 'qts_sample'
resample(x, tmin = NA, tmax = NA, nout = 0L, disable_normalization = FALSE)
Arguments
x |
An object of class qts or qts_sample. |
tmin |
A numeric value specifying the lower bound of the time interval
over which uniform resampling should take place. It must satisfy |
tmax |
A numeric value specifying the upper bound of the time interval
over which uniform resampling should take place. It must satisfy |
nout |
An integer specifying the size of the uniform grid for time
resampling. Defaults to |
disable_normalization |
A boolean specifying whether quaternion
normalization should be disabled. Defaults to |
Value
An object of the same class as the input argument x
in which
quaternions are uniformly sampled in the range [tmin, tmax]
.
Examples
resample(vespa64$igp[[1]])
resample(vespa64$igp)