Skip to content

Commit 642f613

Browse files
author
CosmoMatt
committed
perform general housekeeping pre-release
1 parent 6d2221e commit 642f613

19 files changed

+109
-153
lines changed

.github/workflows/cpp.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Flaglet-C
1+
name: Tests
22

33
on: [push]
44

@@ -18,10 +18,6 @@ jobs:
1818
steps:
1919
- name: Configure Flag permissions
2020
uses: actions/checkout@v2
21-
# with:
22-
# repository: astro-informatics/src_flag
23-
# ref: refs/heads/bintray_sunsetting
24-
# token: ${{ secrets.ACCESS_TOKEN }}
2521

2622
- name: Set up Python 3.8
2723
uses: actions/setup-python@v2
@@ -39,7 +35,7 @@ jobs:
3935
run: |
4036
cd ${{runner.workspace}}
4137
cd ..
42-
git clone --branch bintray_sunsetting https://${{ secrets.ACCESS_TOKEN }}:x-oauth-basic@github.com/astro-informatics/src_flag.git
38+
git clone --branch master https://${{ secrets.ACCESS_TOKEN }}:x-oauth-basic@github.com/astro-informatics/src_flag.git
4339
cd src_flag && mkdir build && cd build
4440
cmake ../ && make &&
4541
sudo make install

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
cmake_minimum_required(VERSION 3.12)
1+
cmake_minimum_required(VERSION 3.15)
22

33
project(
44
flaglet
5-
VERSION "0.0.1"
5+
VERSION "1.0.0"
66
DESCRIPTION "Fast wavelets on the ball"
7-
HOMEPAGE_URL "https://github.com/astro-informatics/flaglet"
7+
HOMEPAGE_URL "https://github.com/astro-informatics/src_flaglet"
88
LANGUAGES C)
99

1010
option(tests "Enable testing" ON)

README

Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,51 @@
1-
***********************************************
2-
FLAGLET: Fourier-Laguerre Wavelets on the Ball
3-
***********************************************
4-
51
.. image:: https://img.shields.io/badge/GitHub-src_flaglet-brightgreen.svg?style=flat
62
:target: https://github.com/astro-informatics/src_flaglet
7-
83
.. image:: https://github.com/astro-informatics/src_flaglet/actions/workflows/cpp.yml/badge.svg
94
:target: https://github.com/astro-informatics/src_flaglet/actions/workflows/cpp.yml
10-
115
.. image:: https://readthedocs.org/projects/ansicolortags/badge/?version=latest
12-
:target: https://astro-informatics.github.io/src_flaglet/
13-
6+
:target: https://astro-informatics.github.io/flaglet/
147
.. image:: https://img.shields.io/badge/License-GPL-blue.svg
158
:target: http://perso.crans.org/besson/LICENSE.html
16-
179
.. image:: http://img.shields.io/badge/arXiv-1205.0792-orange.svg?style=flat
1810
:target: https://arxiv.org/abs/1205.0792
19-
2011
.. image:: http://img.shields.io/badge/arXiv-1110.6298-orange.svg?style=flat
2112
:target: https://arxiv.org/abs/1110.6298
22-
2313
.. image:: http://img.shields.io/badge/arXiv-2105.05518-orange.svg?style=flat
2414
:target: https://arxiv.org/abs/2105.05518
2515

16+
|logo| FLAGLET: Fourier-Laguerre Wavelets on the Ball
17+
=====================================================
18+
19+
.. |logo| raw:: html
20+
21+
<img src="./doc/images/logo.png" align="center" height="52" width="58">
22+
2623
DESCRIPTION
2724
================================
28-
The FLAGLET code provides functionality to perform fast and exact wavelet transform on the ball. More details may be found in the extensive `documentation <https://astro-informatics.github.io/flaglet/>`_.
25+
The ``FLAGLET`` code provides functionality to perform fast and exact wavelet transform on the ball. More details may be found in the extensive `documentation <https://astro-informatics.github.io/flaglet/>`_.
2926

30-
INSTALLATION
27+
C INSTALLATION
3128
================================
32-
This package can easily be installed from PyPi by running
29+
The primary C version of this code can be installed from source by running
30+
31+
.. code-block:: bash
32+
33+
git clone git@github.com:astro-informatics/src_flaglet.git
34+
cd src_flaglet
35+
mkdir build && cd build
36+
cmake .. && make
37+
38+
Following which one can check the installation by running
39+
40+
.. code-block:: bash
41+
42+
ctest
43+
44+
within the build directory.
45+
46+
PYTHNON INSTALLATION
47+
================================
48+
``FLAGLET`` can easily be installed from PyPi by running
3349

3450
.. code-block:: bash
3551
@@ -42,11 +58,21 @@ or alternatively from source by first compiling the C++ code and running
4258
4359
pip install .
4460
61+
from the root directory, following which the installation can be tested by running
62+
63+
.. code-block:: bash
64+
65+
pytest
66+
4567
from the root directory.
4668

69+
MATLAB INSTALLATION
70+
================================
71+
Mex wrappers are available, however they are currently being sunsetted, so installing previously tagged versions is advised.
72+
4773
BASIC USAGE
4874
================================
49-
First install flag for python, then you can call it from any python script to perform forward and inverse flag transforms and their adjoints by
75+
First install ``FLAGLET`` for python, then you can call it from any python script to perform forward and inverse flaglet transforms and their adjoints by
5076

5177
.. code-block:: python
5278
@@ -61,7 +87,7 @@ First install flag for python, then you can call it from any python script to pe
6187
f = rng.normal(size=(f_size)) + 1j*rng.normal(size=(f_size))
6288
6389
# Compute e.g. the Forward transform
64-
f_wav_input, f_scal_input = flaglet.flaglet_ana(f, parameters)
90+
f_wav, f_scal = flaglet.flaglet_forward(f, parameters)
6591
6692
AUTHORS
6793
================================
@@ -159,8 +185,12 @@ REFERENCES
159185
LICENSE
160186
================================
161187

162-
FLAG package to perform fast wavelet transform on the sphere<br>
163-
Copyright (C) 2012 Boris Leistedt & Jason McEwen
188+
``FLAGLET`` is released under the GPL-3 license (see `LICENSE.txt <https://github.com/astro-informatics/src_flaglet/blob/master/LICENSE.txt>`_).
189+
190+
.. code-block::
191+
192+
FLAGLET package to perform fast wavelet transform on the sphere<br>
193+
Copyright (C) 2021 Boris Leistedt & Jason McEwen & Matthew Price
164194
165195
This program is free software; you can redistribute it and/or
166196
modify it under the terms of the GNU General Public License

conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
class FlagletConan(ConanFile):
55
name = "flaglet"
6-
version = "0.0.1"
6+
version = "1.0.0"
77
license = "GPL-3"
8-
url = "https://github.com/astro-informatics/flaglet"
9-
homepage = "https://github.com/astro-informatics/flaglet"
8+
url = "https://github.com/astro-informatics/src_flaglet"
9+
homepage = "https://github.com/astro-informatics/src_flaglet"
1010
description = "Fast wavelet transform on the ball"
1111
settings = "os", "arch", "compiler", "build_type"
1212
topics = ("Physics", "Astrophysics", "Radio Interferometry")

include/flaglet_axisym.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FLAGLET package
2-
// Copyright (C) 2012
3-
// Boris Leistedt & Jason McEwen
2+
// Copyright (C) 2021
3+
// Boris Leistedt & Jason McEwen & Matthew Price
44

55
#ifndef FLAGLET_AXISYM
66
#define FLAGLET_AXISYM

include/flaglet_tiling.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// B3LET package
2-
// Copyright (C) 2012
3-
// Boris Leistedt & Jason McEwen
1+
// FLAGLET package
2+
// Copyright (C) 2021
3+
// Boris Leistedt & Jason McEwen & Matthew Price
44

55
#ifndef FLAGLET_TILING
66
#define FLAGLET_TILING

include/flaglet_transform.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// FLAGLET package
2-
// Copyright (C) 2012
3-
// Boris Leistedt & Jason McEwen
2+
// Copyright (C) 2021
3+
// Boris Leistedt & Jason McEwen & Matthew Price
44

55
#ifndef FLAGLET_TRANSFORM
66
#define FLAGLET_TRANSFORM

include/flaglet_version.in.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ inline const char *flaglet_info() {
88
" authors:\n"
99
" - Boris Leistedt\n"
1010
" - Jason McEwen\n"
11+
" - Matthew Price\n"
1112
" license: GPL-3\n"
12-
" url: https://github.com/astro-informatics/flaglet\n"
13+
" url: https://github.com/astro-informatics/src_flaglet\n"
1314
" version: @PROJECT_VERSION@\n";
1415
};
1516
// clang-format off

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.0.1
2+
current_version = 1.0.0
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))?

0 commit comments

Comments
 (0)