Wrap NumpPy's FFT routines to reduce clutter.
Project description
FFT_tools: unitary FFTs and power spectra for real data.
This package wraps NumPy’s fft module to produce unitary transforms and power spectra of real numbers in one dimension. See the code for the technical details.
Installation
Packages
Gentoo
I’ve packaged FFT-tools for Gentoo. You need layman and my wtk overlay. Install with:
# emerge -av app-portage/layman # layman --add wtk # emerge -av dev-python/FFT-tools
Dependencies
If you’re installing by hand or packaging pycomedi for another distribution, you’ll need the following dependencies:
Package |
||
---|---|---|
python-numpy |
dev-python/numpy |
Installing by hand
FFT-tools is available as a Git repository:
$ git clone git://tremily.us/FFT-tools.git
See the homepage for details. To install the checkout, run the standard:
$ python setup.py install
Usage
See the tests in FFT_tools.py for simple examples.
Testing
Run internal unit tests with:
$ python -m FFT_tools
If you want to plot the test results (useful for debugging), you’ll need to install matplotlib. Then run:
$ python -m FFT_tools --plot
Licence
This project is distributed under the GNU General Public License Version 3 or greater.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.