Skip to main content

Unitary discrete Fourier Transform (and related)

Project description

UDFT: Unitary Discrete Fourier Transform (and related)

licence pypi status version maintained Documentation Status

This module implements unitary discrete Fourier transform, that is orthonormal det(F) = 1 and F⁻¹ = F^*. This module existed before the introduction of the norm="ortho" keyword and is now a very (very) thin wrapper around Numpy, pyFFTW, and Scipy (maybe others in the future), mainly done for my personal usage. There is also functions related to Fourier and convolution like ir2fr.

It is useful for convolution [1]: they respect the Perceval equality, e.g., the value of the null frequency is equal to 1/√N * ∑ₙ xₙ.

[1] B. R. Hunt "A matrix theory proof of the discrete convolution theorem", IEEE
Trans. on Audio and Electroacoustics, vol. au-19, no. 4, pp. 285-288, dec. 1971

If you are having issues, please let me know

francois.orieux AT l2s.centralesupelec.fr

Installation and documentation

UDFT is just the file udft.py and depends on numpy and Python 3.7+ only. Optional dependency are pyFFTW and scipy. Documentation is here. I recommend using poetry for installation

   poetry add udft

or

   poetry add udft[fftw]

to install pyFFTW, or pip

   pip install udft

For a quick and dirty installation, just copy the udft.py file: it is quite stable, follow the Semantic Versioning, and major changes are unlikely.

The code is hosted on GitHub.

License

The code is in the public domain.

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

udft-3.6.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

udft-3.6.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file udft-3.6.0.tar.gz.

File metadata

  • Download URL: udft-3.6.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.4 Linux/5.15.0-46-generic

File hashes

Hashes for udft-3.6.0.tar.gz
Algorithm Hash digest
SHA256 636d4487810a6f600e889f7622e68f832a1b4c8247ffc13b92296bd3d3d78290
MD5 3e3c5dc92854418350d2e04cdd68508b
BLAKE2b-256 c870fd584e46a88c697e3bc0cd19dc2627b7d9e17241a51649ac50ac273107d5

See more details on using hashes here.

File details

Details for the file udft-3.6.0-py3-none-any.whl.

File metadata

  • Download URL: udft-3.6.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.4 Linux/5.15.0-46-generic

File hashes

Hashes for udft-3.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 408fb47dbec9419a8f8f9d307e1e68213abd2c005321fcb54ec3c3e1c8eaadd1
MD5 381dc64e073ced259ddf0aadea47d7d1
BLAKE2b-256 2d64f8eeb51bcd631852af2954ea3bc5c18e013a5f0e143bfb2d1d2784ce9608

See more details on using hashes here.

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