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
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.
Usage
See the tests in FFT_tools.py for simple examples.
Testing
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.
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.
Source Distribution
File details
Details for the file FFT-tools-0.5.tar.gz
.
File metadata
- Download URL: FFT-tools-0.5.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 810aad15c6872e01e45fd0d5eafca964c79a41700bc67973c43f07f87d48be29 |
|
MD5 | 48f179c7b9cc9a0e684cfdd4625b3b5e |
|
BLAKE2b-256 | 008bb70cfe72a191983bca14e19b6c99fed8e3e84619b02e78cda084d356ac0e |