{"id":24738368,"url":"https://github.com/astro-informatics/src_flaglet","last_synced_at":"2025-08-05T08:15:28.021Z","repository":{"id":45873271,"uuid":"46947684","full_name":"astro-informatics/src_flaglet","owner":"astro-informatics","description":"Fast and exact wavelet transform on the 3-dimensional ball","archived":false,"fork":false,"pushed_at":"2021-11-30T19:54:06.000Z","size":855,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-06T01:49:00.012Z","etag":null,"topics":["ball","signal-processing","wavelets"],"latest_commit_sha":null,"homepage":"https://astro-informatics.github.io/flaglet/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astro-informatics.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-26T21:34:31.000Z","updated_at":"2024-12-06T20:52:20.000Z","dependencies_parsed_at":"2022-09-14T12:02:16.637Z","dependency_job_id":null,"html_url":"https://github.com/astro-informatics/src_flaglet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/astro-informatics/src_flaglet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro-informatics%2Fsrc_flaglet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro-informatics%2Fsrc_flaglet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro-informatics%2Fsrc_flaglet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro-informatics%2Fsrc_flaglet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astro-informatics","download_url":"https://codeload.github.com/astro-informatics/src_flaglet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astro-informatics%2Fsrc_flaglet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268859134,"owners_count":24318877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ball","signal-processing","wavelets"],"created_at":"2025-01-27T22:36:06.118Z","updated_at":"2025-08-05T08:15:27.937Z","avatar_url":"https://github.com/astro-informatics.png","language":"C","readme":".. image:: https://github.com/astro-informatics/src_flaglet/actions/workflows/cpp.yml/badge.svg\n    :target: https://github.com/astro-informatics/src_flaglet/actions/workflows/cpp.yml\n.. image:: https://readthedocs.org/projects/ansicolortags/badge/?version=latest\n    :target: https://astro-informatics.github.io/flaglet/\n.. image:: https://badge.fury.io/py/pyflaglet.svg\n    :target: https://badge.fury.io/py/pyflaglet\n.. image:: https://img.shields.io/badge/License-GPL-blue.svg\n    :target: http://perso.crans.org/besson/LICENSE.html\n.. image:: http://img.shields.io/badge/arXiv-1205.0792-orange.svg?style=flat\n    :target: https://arxiv.org/abs/1205.0792\n.. image:: http://img.shields.io/badge/arXiv-1110.6298-orange.svg?style=flat\n    :target: https://arxiv.org/abs/1110.6298\n.. image:: http://img.shields.io/badge/arXiv-2105.05518-orange.svg?style=flat\n    :target: https://arxiv.org/abs/2105.05518\n\n|logo| FLAGLET: Fourier-Laguerre Wavelets on the Ball\n=====================================================\n\n.. |logo| raw:: html\n\n   \u003cimg src=\"./doc/images/logo.jpg\" align=\"center\" height=\"52\" width=\"56\"\u003e\n\nDESCRIPTION\n================================\nThe ``FLAGLET`` code provides functionality to perform fast and exact wavelet transform on the ball. More details may be found in the extensive `documentation \u003chttps://astro-informatics.github.io/flaglet/\u003e`_.\n\nC INSTALLATION\n================================\nThe primary C version of this code can be installed from source by running\n\n.. code-block:: bash\n\n     git clone git@github.com:astro-informatics/src_flaglet.git\n     cd src_flaglet\n     mkdir build \u0026\u0026 cd build\n     cmake .. \u0026\u0026 make \n\nFollowing which one can check the installation by running\n\n.. code-block:: bash\n\n     ctest\n\nwithin the build directory.\n\nPYTHON INSTALLATION\n================================\n``FLAGLET`` can easily be installed from PyPi by running\n\n.. code-block:: bash\n\n    pip install pyflaglet\n    pip list\n\nor alternatively from source by first compiling the C code and running \n\n.. code-block:: bash \n\n    pip install .\n\nfrom the root directory, following which the installation can be tested by running \n\n.. code-block:: bash \n\n     pytest \n\nfrom the root directory.\n\nMATLAB INSTALLATION\n================================\nMex wrappers are available, however they are currently being sunsetted, so installing previously tagged versions is advised.\n\nBASIC USAGE\n================================\nFirst install ``FLAGLET`` for python, then you can call it from any python script to perform forward and inverse flaglet transforms and their adjoints by \n\n.. code-block:: python\n\n    import pyflaglet as flaglet\n    import numpy as np \n\n    parameters = flaglet.flaglet_parameters(\u003cspecify parameters\u003e)\n\n    # Create a random complex signal (c indexing)\n    f_size = flaglet.flaglet_f_dim(parameters)\n    rng = np.random.default_rng()\n    f = rng.normal(size=(f_size)) + 1j*rng.normal(size=(f_size))\n\n    # Compute e.g. the Forward transform \n    f_wav, f_scal = flaglet.flaglet_forward(f, parameters)\n\nAUTHORS\n================================\n\n`B. Leistedt \u003cwww.ixkael.com/blog\u003e`_, \n`J. D. McEwen \u003cwww.jasonmcewen.org\u003e`_, and \n`M. A. Price \u003chttps://scholar.google.com/citations?user=w7_VDLQAAAAJ\u0026hl=en\u0026authuser=1\u003e`_\n\nREFERENCES\n================================\n\n.. code-block::\n\n    @article{price:2021:bayesian,\n        author  = {Matthew~A.~Price and Jason~D.~McEwen},\n        title   = {Bayesian variational regularization on the ball},\n        journal = {ArXiv},\n        eprint  = {arXiv:2105.05518},\n        year    = 2021\n    }\n\n.. code-block::\n\n    @article{leistedt:2012:exact,\n        author  = {Boris~Leistedt and Jason~D.~McEwen},\n        title   = {Exact Wavelets on the Ball},\n        journal = {IEEE Trans. Sig. Proc.},\n        year    = 2012,\n        volume  = {60},\n        number  = {12},\n        pages   = {6257-6269},\n        doi     = {10.1109/TSP.2012.2215030},\n    }\n\n.. code-block::\n\n    @article{McEwen:2011:novel,\n        author  = {Jason~D.~McEwen and Yves~Wiaux},\n        title   = {A novel sampling theorem on the sphere},\n        journal = {IEEE Trans. Sig. Proc.},\n        year    = 2011,\n        volume  = {59},\n        number  = {12},\n        pages   = {5876-5887},\n        doi     = {10.1109/TSP.2011.2166394},\n    }\n\n.. code-block::\n\n    @article{Leistedt:2015:3dlensing,\n        author  = {Boris~Leistedt and Jason~D.~McEwen and Thomas~D.~Kitching and Hiranya~V.Peiris},\n        title   = {3D weak lensing with spin wavelets on the ball},\n        journal = {Physical Review D.},\n        year    = 2015,\n        volume  = {92},\n        number  = {12},\n        pages   = {123010},\n        doi     = {10.1103/PhysRevD.92.123010},\n    }\n\n.. code-block::\n\n    @article{McEwen:2015:3dlensing,\n        author  = {Jason~D.~McEwen and Martin~Büttner and Boris~Leistedt and Hiranya~V.Peiris and Yves~Wiaux},\n        title   = {A Novel Sampling Theorem on the Rotation Group},\n        journal = {IEEE Sig. Proc. Letters},\n        year    = 2015,\n        volume  = {22},\n        number  = {12},\n        pages   = {2425-2429},\n        doi     = {10.1109/LSP.2015.2490676},\n    }\n\n.. code-block::\n\n    @article{McEwen:2015:s2spinwavelets,\n        author  = {Jason~D.~McEwen and Boris~Leistedt and Martin~Büttner and Hiranya~V.Peiris and Yves~Wiaux },\n        title   = {Directional spin wavelets on the sphere},\n        journal = {arXiv e-prints},\n        eprint  = {1509.06749},\n        year    = 2015,\n    }\n\n.. code-block::\n\n    @article{leistedt:2013:s2let,\n        title   = {S2LET: A code to perform fast wavelet analysis on the sphere},\n        author  = {Boris~Leistedt and Jason~D.~McEwen and Pierre~Vandergheynst and Yves~Wiaux},\n        journal = {Astronomy \u0026 Astrophysics},\n        volume  = {558},\n        pages   = {A128},\n        year    = 2013,\n    }\n\nLICENSE\n================================\n\n``FLAGLET`` is released under the GPL-3 license (see `LICENSE.txt \u003chttps://github.com/astro-informatics/src_flaglet/blob/master/LICENSE.txt\u003e`_).\n\n.. code-block::\n\n     FLAGLET package to perform fast wavelet transform on the sphere\u003cbr\u003e\n     Copyright (C) 2021 Boris Leistedt \u0026 Jason McEwen \u0026 Matthew Price\n\n     This program is free software; you can redistribute it and/or\n     modify it under the terms of the GNU General Public License\n     as published by the Free Software Foundation; either version 2\n     of the License, or (at your option) any later version.\n\n     This program is distributed in the hope that it will be useful,\n     but WITHOUT ANY WARRANTY; without even the implied warranty of\n     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n     GNU General Public License for more details (LICENSE.txt).\n\n     You should have received a copy of the GNU General Public License\n     along with this program; if not, write to the Free Software\n     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, \n     MA  02110-1301, USA.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastro-informatics%2Fsrc_flaglet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastro-informatics%2Fsrc_flaglet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastro-informatics%2Fsrc_flaglet/lists"}