Last chance! 50% off unlimited learning
Sale ends in
efourier.i
uses the inverse elliptical Fourier transformation to calculate a shape, when given a list with Fourier coefficients, typically obtained computed with efourier.efourier.i(ef, nb.h, nb.pts = 300)
list
. A list containing $a_n$, $b_n$, $c_n$ and $d_n$ Fourier coefficients, such as returned by efourier
.integer
. The number of harmonics to use. If not specified, length(ef$an)
is used.integer
. The number of points to calculate.vector
of x
-coordinates.vector
of y
-coordinates.data(bot)
coo <- bot@coo[[1]]
coo.plot(coo)
ef <- efourier(coo, 12)
ef
efi <- efourier.i(ef)
l2m(efi)
coo.draw(efi, border="red", col=NA)
Run the code above in your browser using DataLab