Skip to main content

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

Debian

Gentoo

NumPy

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

FFT-tools-0.5.tar.gz (22.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page