Skip to main content

Deconvoluted

https://img.shields.io/pypi/v/deconvoluted.svg https://img.shields.io/travis/tbuli/deconvoluted.svg Documentation Status

Deconvoluted makes performing numerical integral transforms simple and pythonic!

Features

Fourier Transforms

As a first example, let’s perform a Fourier transform:

t = np.linspace(0, 10, 201)
f = np.sin(3 * 2 * np.pi * t)
F, nu = fourier_transform(f, t)

By default, Fourier transforms use Fourier coefficients a=0, b=-2pi. Using another convention is simple:

F, omega = fourier_transform(f, t, convention=(-1, 1))

As a physicist myself, I therefore switch the labelling of the output from nu for frequency, to omega for angular frequency.

Performing multidimensional transforms is just as easy. For example:

F_pq, p, q = fourier_transform(f_xy, x, y)

transforms both x and y at the same time. Transforming only one of the two variables can be done simply by setting those that shouldn’t transform to None:

F_py, p = fourier_transform(f_xy, x, None)
F_xq, q = fourier_transform(f_xy, None, y)

See the documentation for more examples!

History

0.1.1 (2019-06-05)

  • Implemented support for different FT conventions.

0.1.0 (2019-06-03)

  • First release on PyPI.

Metadata

Release files for deconvoluted 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deconvoluted 0.1.1
File Size Uploaded
deconvoluted-0.1.1.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deconvoluted 0.1.1
File Interpreter ABI Platform
deconvoluted-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 17.0 kB

Release files / deconvoluted-0.1.1.tar.gz

Download URL deconvoluted-0.1.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
87cb8edeab1e485bb1564ff58117023ab05314d244f4753bff56c650a001549f
BLAKE2b-256 checksum
How to use checksums
8fdb9d60d8ca29c46e035733fba192caaa86795881745b1f13f092b8db0f3e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release files / deconvoluted-0.1.1-py2.py3-none-any.whl

Download URL deconvoluted-0.1.1-py2.py3-none-any.whl
Size 5.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cf8559c2e3042add1a13ad614a219be639611b01ef367b2b1be05407c220463f
BLAKE2b-256 checksum
How to use checksums
133665a78dcf5d4c07b783a46a26386f3f4bd18795d75ab2ffdb3d7754f9e6b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page