scalasignal
scalasignal copied to clipboard
Signal Processing in Scala
= ScalaSignal - Signal Processing Library for Scala =
== Introduction ==
ScalaSignal is a fledgling signal processing library for the Scala language, with the eventual aim of implementing much of the functionality found in other signal processing toolboxen.
ScalaSignal is released under the LGPL. See LICENSE for details. Copyright (C) Jonathan Merritt 2013.
== Current Functionality ==
ScalaSignal currently implements the following:
bandwidth(pd, fract)- Signal bandwidth estimationbutterSOSEven(n, Wn)- SOS coefficients for even-order Butterworth filtersdetrend(x)- Removes a linear trend from a signalfilter(b, a, x, si)- digital filtering with FIR or IIR filtersfiltfilt(b, a, x)- forward-reverse zero phase lag digital filteringfft(x)- Fast Fourier Transformifft(h)- Inverse Fast Fourier Transformpsd(x, fs)- Power spectral density estimationsosfilt(sos, x)- second order section (SOS) / biquad filtering- Windowing functions:
**
hann(n, periodic)- Hann (Hanning / raised cosine) window **rectwin(n)- rectangular (identity) window **tukeywin(n, a)- Tukey (tapered cosine) window
== Installation ==
Check out the project from GitHub (this command uses the Read-Only repository):
$ git clone git://github.com/lancelet/scalasignal.git
This will create a new directory called scalasignal. Next, use
https://github.com/harrah/xsbt[sbt/xsbt] to compile the project:
$ cd scalasignal $ sbt
https://github.com/harrah/xsbt[sbt/xsbt] will launch, and collect
everything it needs for the project. Within sbt, you can then run:
test
This will run the packaged unit tests for the project.