tfourier
computes Fourier coefficients from a set of coordinates; tfourier.i
calculates a shape given a set of Fourier coefficients computed with tfourier
; tfourier.shape
calculates a "Fourier tangent angle shape" given Fourier coefficients (see Details
).tfourier(coo, nb.h=32, smooth.it=0)
tfourier.i(tf, nb.pts, nb.h=length(tf$an), thetao=0)
tfourier.shape(an, bn, ao = 0, nb.h, nb.pts = 80, alpha = 2, plot = TRUE)
integer
. The number of harmonics to calculate/useinteger
. The number of smoothing iterations to performnumeric
. A vector
of harmonic coefficient(s).numeric
. A vector
of harmonic coefficient(s).numeric
. radius angle to the reference (in radians)integer
. The number of points to calculatenumeric
. radius angle to the reference (in radians)numeric
. The power coefficient associated with the (usually decreasing) amplitude of the Fourier coefficients (see efourier - Details)logical
. Whether to plot the shape or only return the list of coordinates.data(bot)
tfourier(bot@coo[[1]])
tfourier.shape()
Run the code above in your browser using DataLab