sfourier
computes radii variation Fourier analysis from a matrix or a
list of coordinates where points are equally spaced aong the curvilinear abscissa.sfourier(x, nb.h)# S3 method for default
sfourier(x, nb.h)
# S3 method for Out
sfourier(x, nb.h)
list
or matrix
of coordinates or an Out
objectinteger
. The number of harmonics to use. If missing, 12 is used on shapes;
99 percent of harmonic power on Out objects, both with messages.an
vector of bn
vector of ao
ao harmonic coefficient
r
vector of radii lengths
sfourier_i
,
sfourier_shape
molars[4] %>% coo_center %>% coo_scale %>% coo_interpolate(1080) %>% coo_slidedirection("E") %>%
coo_sample(360) %T>% coo_plot(zoom=2) %>% sfourier(16) %>%
sfourier_i() %>% coo_draw(bor="red", points=TRUE)
Run the code above in your browser using DataLab