plotFft {oreo} | R Documentation |
create Fourier Harmonic Magnitudes plot
create Fourier Harmonic Magnitudes plot
plotFft(ft_amp, fft_resp, spp_params, ...)
plotFft(ft_amp, fft_resp, spp_params, ...)
ft_amp |
from the output matrix from fft analysis or numerical differentiation analysis |
fft_resp |
from the output matrix from fft analysis or numerical differentiation analysis |
spp_params |
input parameters used for the fft analysis or numerical differentiation analysis |
... |
parameters of plot() |
No return value
No return value
Giorgio Luciano and Serena Beretta, based on the Plotting functions created by Simon Rogers Group for Soft Matter
Giorgio Luciano and Serena Beretta, based on the Plotting functions created by Simon Rogers Group for Soft Matter
data(mydata)
df <- rpp_read2(mydata , selected=c(2, 3, 4, 0, 0, 1, 0, 0))
time_wave <- df$raw_time
resp_wave <- data.frame(df$strain,df$strain_rate,df$stress)
out <- rpp_fft(time_wave,resp_wave,L=1024,omega=3.16 , M=15,p=1)
ft_amp= out$ft_out$ft_amp
fft_resp= out$ft_out$fft_resp
spp_params= out$spp_params
plotFft(ft_amp,fft_resp,spp_params)