Skip to main content

Fast Fourier-Laguerre transform on the ball

Project description

https://img.shields.io/badge/GitHub-src_flag-brightgreen.svg?style=flat https://github.com/astro-informatics/src_flag/actions/workflows/cpp.yml/badge.svg https://readthedocs.org/projects/ansicolortags/badge/?version=latest https://img.shields.io/badge/License-GPL-blue.svg http://img.shields.io/badge/arXiv-1205.0792-orange.svg?style=flat http://img.shields.io/badge/arXiv-1110.6298-orange.svg?style=flat http://img.shields.io/badge/arXiv-2105.05518-orange.svg?style=flat

DESCRIPTION

The FLAG code provides functionality to perform fast and exact Fourier-Laguerre and Fourier-Bessel transforms on the ball. More details may be found in the extensive documentation.

BASIC USAGE

First install flag for python by running

pip install pyflag

Then you can call it from python to perform forward and inverse flag transforms and their adjoints by

import pyflag as flag
import numpy as np

L = 10                          # Angular bandlimit
P = 5                           # Radial bandlimit
tau = 1                         # Laguerre scaling factor
spin = 0                        # Spin of signal
reality = 0                     # Real or complex signals

# Create a random complex signal (c indexing)
f = np.random.rand(P, L, 2*L-1) + 1j*np.random.rand(P, L, 2*L-1)
f = f.flatten('C')

# Compute e.g. the Forward transform
flmp = flag.flag_analysis(f, L, tau, P, spin, reality)

Contributors

B. Leistedt, J. D. McEwen, and M. A. Price

REFERENCES

@article{price:2021:bayesian,
    author  = {Matthew~A.~Price and Jason~D.~McEwen},
    title   = {Bayesian variational regularization on the ball},
    journal = {ArXiv},
    eprint  = {arXiv:2105.05518},
    year    = 2021
}
@article{leistedt:2012:exact,
    author  = {Boris~Leistedt and Jason~D.~McEwen},
    title   = {Exact Wavelets on the Ball},
    journal = {IEEE Trans. Sig. Proc.},
    year    = 2012,
    volume  = {60},
    number  = {12},
    pages   = {6257-6269},
    doi     = {10.1109/TSP.2012.2215030},
}
@article{McEwen:2011:novel,
    author  = {Jason~D.~McEwen and Yves~Wiaux},
    title   = {A novel sampling theorem on the
     sphere},
    journal = {IEEE Trans. Sig. Proc.},
    year    = 2011,
    volume  = {59},
    number  = {12},
    pages   = {5876-5887},
    doi     = {10.1109/TSP.2011.2166394},
}

LICENSE

FLAG package to perform fast wavelet transform on the sphere<br> Copyright (C) 2012 Boris Leistedt & Jason McEwen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (LICENSE.txt).

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyflag-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl (665.7 kB view details)

Uploaded CPython 3.8 macOS 10.14+ x86-64

File details

Details for the file pyflag-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: pyflag-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 665.7 kB
  • Tags: CPython 3.8, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for pyflag-1.0.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f3a1d35f4f270f67a21f0c4f83863bb44c90e3abc00d5695a87dfa1d1e24977c
MD5 3b6929799976b0c74f4975a1f49159ff
BLAKE2b-256 3098adf9efeb701fc2b7d50f406e6d37b7bad2da8d3a5eee2734f8e8bebd088e

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