{ "info": { "author": "Ghislain Antony Vaillant", "author_email": "ghisvail@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Topic :: Software Development" ], "description": "=========\nfftw-cffi\n=========\n\nCompute fast Fourier transforms in Python.\n\nExample\n=======\n\nThe following code snippet shows how to compute the forward Fourier transform \nof an arbitrary array of 64 samples::\n\n >>> from fftw.fftw import Plan\n >>> import numpy\n >>> input_array = numpy.arange(64, dtype=numpy.complex)\n >>> plan = Plan(input_array, output_array=numpy.empty_like(input_array))\n >>> result_array = plan()\n\n >>> print(input_array)\n [ 0.+0.j 1.+0.j 2.+0.j 3.+0.j 4.+0.j 5.+0.j 6.+0.j 7.+0.j\n 8.+0.j 9.+0.j 10.+0.j 11.+0.j 12.+0.j 13.+0.j 14.+0.j 15.+0.j\n 16.+0.j 17.+0.j 18.+0.j 19.+0.j 20.+0.j 21.+0.j 22.+0.j 23.+0.j\n 24.+0.j 25.+0.j 26.+0.j 27.+0.j 28.+0.j 29.+0.j 30.+0.j 31.+0.j\n 32.+0.j 33.+0.j 34.+0.j 35.+0.j 36.+0.j 37.+0.j 38.+0.j 39.+0.j\n 40.+0.j 41.+0.j 42.+0.j 43.+0.j 44.+0.j 45.+0.j 46.+0.j 47.+0.j\n 48.+0.j 49.+0.j 50.+0.j 51.+0.j 52.+0.j 53.+0.j 54.+0.j 55.+0.j\n 56.+0.j 57.+0.j 58.+0.j 59.+0.j 60.+0.j 61.+0.j 62.+0.j 63.+0.j]\n\n >>> print(result_array)\n [ 2016. +0.j -32.+651.374964j -32.+324.9014524j\n -32.+215.72647697j -32.+160.87486375j -32.+127.75116108j\n -32.+105.48986269j -32. +89.43400872j -32. +77.254834j\n -32. +67.65831544j -32. +59.86778918j -32. +53.38877458j\n -32. +47.89138441j -32. +43.14700523j -32. +38.99211282j\n -32. +35.30655922j -32. +32.j -32. +29.00310941j\n -32. +26.26172131j -32. +23.73281748j -32. +21.38171641j\n -32. +19.18006188j -32. +17.10435635j -32. +15.13487283j\n -32. +13.254834j -32. +11.44978308j -32. +9.70709388j\n -32. +8.01558273j -32. +6.36519576j -32. +4.7467516j\n -32. +3.15172491j -32. +1.57205919j -32. +0.j\n -32. -1.57205919j -32. -3.15172491j -32. -4.7467516j\n -32. -6.36519576j -32. -8.01558273j -32. -9.70709388j\n -32. -11.44978308j -32. -13.254834j -32. -15.13487283j\n -32. -17.10435635j -32. -19.18006188j -32. -21.38171641j\n -32. -23.73281748j -32. -26.26172131j -32. -29.00310941j\n -32. -32.j -32. -35.30655922j -32. -38.99211282j\n -32. -43.14700523j -32. -47.89138441j -32. -53.38877458j\n -32. -59.86778918j -32. -67.65831544j -32. -77.254834j\n -32. -89.43400872j -32.-105.48986269j -32.-127.75116108j\n -32.-160.87486375j -32.-215.72647697j -32.-324.9014524j\n -32.-651.374964j ]\n\nInstallation\n============\n\nRequirements\n------------\n\nThe following dependencies are required to build, run and test the package:\n\n - setuptools\n - pkgconfig\n - numpy\n - cffi\n - nose\n\nAn installation of the FFTW library is required. It should be discoverable \nwith a call to pkg-config::\n\n $ pkg-config --libs fftw3\n\nLocal or non-system installation locations are supported using \nPKG_CONFIG_PATH::\n\n $ export PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig\n $ pkg-config --libs fftw3\n\nUsing pip\n---------\n\nThe recommended way to install the package is via pip::\n\n $ pip install fftw-cffi\n\nUsing setup.py \n--------------\n\nThis method is suitable for environments where pip is not available, or for \ntesting modifications to the package::\n\n $ python setup.py install\n\nContributing\n============\n\nGuidelines\n----------\n\nThe development team welcomes feedback, code and enhancement proposals to the \npackage from the community. Please consider opening an issue or submitting \npatches for inclusion to the code base via pull-request. For code \ncontributions, please provide appropriate test cases for each new features and \nverify that the complete test suite runs successfully.\n\nRunning the tests\n-----------------\n\nIf the bindings were modified, then one should first rebuild the CFFI module \nwith::\n\n $ python setup.py build_ext --inplace\n\nBefore running the test suite with a call to::\n\n $ python setup.py nosetests\n\nLicense\n=======\n\nThe **fftw-cffi** source code is released under the terms of the `new BSD \nlicense `_. The copyright \ninformation can be checked out in the accompanying `LICENSE `_ file.\n\nA separate installation of the FFTW library is required. The source code can \nbe downloaded from the official `homepage `_ and \ninstalled following the instructions available in the corresponding README \nfile. The FFTW library is licensed under the `GPL version 2 or later \n`_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ghisvail/fftw-cffi", "keywords": "dft fft fftw fftw3", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "fftw-cffi", "package_url": "https://pypi.org/project/fftw-cffi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fftw-cffi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ghisvail/fftw-cffi" }, "release_url": "https://pypi.org/project/fftw-cffi/0.1/", "requires_dist": null, "requires_python": null, "summary": "Python interface to the FFTW library", "version": "0.1" }, "last_serial": 1959991, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f0bf96acb97acafdb1d190c7403087c1", "sha256": "2f103d60fac0ef5fa56f96c14badcdebc7a8efa08f603afcb4353e3143552bea" }, "downloads": -1, "filename": "fftw-cffi-0.1.tar.gz", "has_sig": false, "md5_digest": "f0bf96acb97acafdb1d190c7403087c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5496, "upload_time": "2016-02-16T19:18:31", "url": "https://files.pythonhosted.org/packages/da/2e/066d3396550084036acbf193360b7c85c110808c0aea17ab690e442c27af/fftw-cffi-0.1.tar.gz" } ], "0.1.dev1": [] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0bf96acb97acafdb1d190c7403087c1", "sha256": "2f103d60fac0ef5fa56f96c14badcdebc7a8efa08f603afcb4353e3143552bea" }, "downloads": -1, "filename": "fftw-cffi-0.1.tar.gz", "has_sig": false, "md5_digest": "f0bf96acb97acafdb1d190c7403087c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5496, "upload_time": "2016-02-16T19:18:31", "url": "https://files.pythonhosted.org/packages/da/2e/066d3396550084036acbf193360b7c85c110808c0aea17ab690e442c27af/fftw-cffi-0.1.tar.gz" } ] }