Skip to main content

Unitary discrete Fourier Transform (and related)

Project description

UDFT: Unitary Discrete Fourier Transform (and related)

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 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. We recommend using poetry for installation

   poetry add qmm

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.

License

The project is licensed under the DO WHAT THE FUCK YOU WANT license.

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-1.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

udft-1.0.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: udft-1.0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.8.0-48-generic

File hashes

Hashes for udft-1.0.2.tar.gz
Algorithm Hash digest
SHA256 41035c3d8933ca9f5f0e808a4601b19bc1aefd2237008fceddd30928a761008d
MD5 6bafde9734887804574bff603a5c9c0d
BLAKE2b-256 c49289b409b9c3a2b1ad3793947ffebb730af2a6bad11013dd206db1b09911fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: udft-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.8.5 Linux/5.8.0-48-generic

File hashes

Hashes for udft-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d624f3ebf9aa0671aa46841d41624648df4915ba696c884fcc7428902acb771
MD5 60a86af9028ba15e4faac8b9da637771
BLAKE2b-256 9057b22de77d4b71617150493052ad65268e000e184479624ef6a968b5d18220

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