
Last chance! 50% off unlimited learning
Sale ends in
sfourier_i
uses the inverse radii variation (equally spaced curvilinear abscissa) transformation to
calculate a shape, when given a list with Fourier coefficients, typically
obtained computed with sfourier.sfourier_i(rf, nb.h, nb.pts = 120, dtheta = FALSE)
list
with ao
, an
and bn
components,
typically as returned by sfourier
.integer
. The number of harmonics to calculate/use.integer
. The number of points to calculate.logical
. Whether to use the dtheta correction method.
FALSE
by default. When TRUE
, tries to correct the angular difference between
reconstructed points; otherwise equal angles are used.vector
of
x
-coordinates.vector
of y
-coordinates.vector
of angles used.vector
of radii
calculated.sfourier_shape
,
sfourier
data(bot)
coo <- coo_center(bot[1]) # centering is almost mandatory for sfourier family
coo_plot(coo)
rf <- sfourier(coo, 12)
rf
rfi <- sfourier_i(rf)
coo_draw(rfi, border='red', col=NA)
Run the code above in your browser using DataLab