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. This module existed before the introduction of the norm="ortho" keyword and is now a very (very) thin wrapper around Numpy or pyFFTW (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. Documentation is here. I recommend using poetry for installation

   poetry add udft

or

   poetry add udft[fftw]

to install the pyFFTW also, but the package is available with pip also. 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.3.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

udft-3.3.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: udft-3.3.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.8.10 Linux/5.11.0-38-generic

File hashes

Hashes for udft-3.3.0.tar.gz
Algorithm Hash digest
SHA256 d76747760acd6225d4ad2ce4b6f624f4f904abd643dcc0ba618ff960af84502a
MD5 55f3fa9ead580d9607cc793ea7251890
BLAKE2b-256 676987d4256a14b36211313eee4b5d669d6c6518d13d2fb655c989f34d1f5dea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: udft-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.8.10 Linux/5.11.0-38-generic

File hashes

Hashes for udft-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f964742729f738bc6546d477ef4e80d866e43cdbcd121e41a5a5b4c09b286e9
MD5 2033744833f68110873e5bb77aa36410
BLAKE2b-256 50beef1d9caef6b6af0da2f127d415051b4002022e6fe706b91146f4c6ffa978

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