Numeric.Signal
 Portability uses FFI Stability provisional Maintainer haskell.vivian.mcphail gmail com
Description
Signal processing functions
Synopsis
 hamming :: Int -> Vector Double pwelch :: Int -> Int -> Vector Double -> (Vector Double, Vector Double) fir :: Int -> [(Double, Double)] -> Int -> Int -> Vector Double -> Vector Double standard_fir :: Int -> [(Double, Double)] -> Vector Double broadband_fir :: Int -> (Int, Int) -> Vector Double freqzF :: Vector Double -> Vector Double -> Int -> Vector Double -> Vector Double freqzN :: Vector Double -> Vector Double -> Int -> Int -> (Vector Double, Vector Double) filter :: Vector Double -> Vector Double -> Int -> Vector Double -> Vector Double broadband_filter :: Int -> (Int, Int) -> Vector Double -> Vector Double analytic_signal :: Vector Double -> Vector (Complex Double) analytic_power :: Vector (Complex Double) -> Vector Double analytic_phase :: Vector (Complex Double) -> Vector Double
Documentation
 hamming Source
 :: Int length -> Vector Double the Hamming coeffficents coefficients of a Hamming window
 pwelch Source
 :: Int sampling rate -> Int window size -> Vector Double input signal -> (Vector Double, Vector Double) (frequency index,power density) Welch (1967) power spectrum density using periodogram/FFT method
 fir Source
 :: Int order (one less than the length of the filter) -> [(Double, Double)] band edge frequency, nondecreasing, [0, f1, ..., f(n-1), 1] ^ band edge magnitude -> Int grid spacing -> Int transition width -> Vector Double smoothing window (size is order + 1) -> Vector Double the filter coefficients produce an FIR filter
 standard_fir :: Int -> [(Double, Double)] -> Vector Double Source
standard FIR filter | FIR filter with grid a power of 2 greater than the order, ramp = grid/16, hamming window
 :: Int sampling rate -> (Int, Int) (lower,upper) frequency cutoff -> Vector Double filter coefficients a broadband FIR
 freqzF Source
 :: Vector Double zero coefficients -> Vector Double pole coefficients -> Int sampling rate -> Vector Double frequencies -> Vector Double frequency response determine the frequency response of a filter, given a vector of frequencies
 freqzN Source
 :: Vector Double zero coefficients -> Vector Double pole coefficients -> Int sampling rate -> Int number of points -> (Vector Double, Vector Double) (frequencies,response) determine the frequency response of a filter, given a number of points and sampling rate
 filter Source
 :: Vector Double zero coefficients -> Vector Double pole coefficients -> Int sampling rate -> Vector Double input signal -> Vector Double output signal filters the signal