Wrap NumpPy's FFT routines to reduce clutter.
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.
# emerge -av app-portage/layman # layman --add wtk # emerge -av dev-python/FFT-tools
If you’re installing by hand or packaging pycomedi for another distribution, you’ll need the following dependencies:
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
Building the HTML docs
The module objects are documented in the NumPy/SciPy documentation style. You should be able to build this documentation with Sphinx and the numpydoc extension. I haven’t been able to get numpydoc working cleanly, but you can still build a decent version of the docs from the doc subdirectory with:
$ make SPHINXBUILD=sphinx-build-2.7 dirhtml
This documentation is available on Read the Docs.
See the tests in FFT_tools.py for simple examples.
Run internal unit tests using Nose:
$ nosetests --with-doctest --doctest-tests -vv FFT_tools.py
If you want to plot the test results (useful for debugging), you’ll need to install matplotlib and set TEST_PLOTS to True in FFT_tools.py before invoking Nose.
This project is distributed under the GNU General Public License Version 3 or greater.