useDynLib(signal)

import("MASS")
import("graphics")
import("grDevices")
importFrom("stats", "approx", "fft", "mvfft", "na.omit", "optimize", "runmed", "splinefun")
importFrom("utils", "head")

export(bartlett, bilinear, blackman, boxcar, butter, buttord,
       chebwin, cheb1ord, cheby1, cheby2, chirp,
       decimate, ellip, ellipord,
       FftFilter, filter, fftfilt,
       MedianFilter, medfilt1,
       spencerFilter, spencer,
       FilterOfOrder, an, roots,
       Arma, as.Arma, Ma, Zpg, as.Zpg,
       polyval, conv, ifft, filtfilt, fir1, fir2, flattopwin,
       freqs, freqs_plot, freqz, freqz_plot, gausswin, grpdelay,
       hamming, hanning, impz, interp1, interp, kaiser, kaiserord, levinson,
       pchip, poly, remez, resample, sftrans, sgolay, sgolayfilt,
       specgram, triang, unwrap, zplane)

S3method(bilinear, default)
S3method(bilinear, Arma)
S3method(bilinear, Zpg)
S3method(butter, default)
S3method(butter, FilterOfOrder)
S3method(cheby1, default)
S3method(cheby1, FilterOfOrder)
S3method(cheby2, default)
S3method(cheby2, FilterOfOrder)
S3method(ellip, default)
S3method(ellip, FilterOfOrder)
S3method(filter, default)
S3method(filter, Arma)
S3method(filter, FftFilter)
S3method(filter, Ma)
S3method(filter, MedianFilter)
S3method(filter, sgolayFilter)
S3method(filter, Zpg)
S3method(as.Arma, Arma)
S3method(as.Arma, Ma)
S3method(as.Arma, Zpg)
S3method(as.Zpg, Arma)
S3method(as.Zpg, Ma)
S3method(as.Zpg, Zpg)
S3method(filtfilt, default)
S3method(filtfilt, Arma)
S3method(filtfilt, Ma)
S3method(filtfilt, Zpg)
S3method(freqs, default)
S3method(freqs, Arma)
S3method(freqs, Ma)
S3method(print, freqs)
S3method(plot, freqs)
S3method(freqs_plot, freqs)
S3method(freqs_plot, default)
S3method(freqz, default)
S3method(freqz, Arma)
S3method(freqz, Ma)
S3method(print, freqz)
S3method(plot, freqz)
S3method(freqz_plot, freqz)
S3method(freqz_plot, default)
S3method(grpdelay, default)
S3method(grpdelay, Arma)
S3method(grpdelay, Ma)
S3method(grpdelay, Zpg)
S3method(print, grpdelay)
S3method(plot, grpdelay)
S3method(impz, default)
S3method(impz, Arma)
S3method(impz, Ma)
S3method(print, impz)
S3method(plot, impz)
S3method(sftrans, default)
S3method(sftrans, Arma)
S3method(sftrans, Zpg)
S3method(print, specgram)
S3method(plot, specgram)
S3method(zplane, default)
S3method(zplane, Arma)
S3method(zplane, Ma)
S3method(zplane, Zpg)
