Skip to content

Commit

Permalink
Merge pull request #9 from teob97/master
Browse files Browse the repository at this point in the history
New tests and documentation
@teob97 Great thanks!
  • Loading branch information
yusuke-takase authored Sep 15, 2024
2 parents c5245a2 + 409f84f commit 78d6aa3
Show file tree
Hide file tree
Showing 82 changed files with 19,470 additions and 1,270,876 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ jobs:
- name: Install dependencies
run: poetry install

- name: Setup pandoc
uses: nikeee/setup-pandoc@v1

- name: Build Sphinx
run: |
cd docs
poetry run sphinx-apidoc -f -o . ../
poetry run make html
- name: Setup Pages
Expand All @@ -65,7 +67,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "./docs/_build/html/"
path: "./docs/build/html/"

- name: Deploy to GitHub Pages
id: deployment
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ grasp2alm/__pycache__/
dist/
test/__pycache__
.pytest_cache/
.vscode/
.DS_Store
test/.DS_Store
docs/build
.venv/
notebooks/
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# HEAD

- Added new tests [[#1](https://github.com/teob97/grasp2alm/pull/1)]
- Added a complete doumentation [[#4](https://github.com/teob97/grasp2alm/pull/4)]

# Version 0.1.0

- First release of the code
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
![PyPI - License](https://img.shields.io/pypi/l/grasp2alm)

This package supports the conversion from beam data calculated using [GRASP](https://www.ticra.com/software/grasp/) for CMB experiments to spherical harmonic coefficients ($a_{\ell m}$) based on the [HEALPix](https://healpix.sourceforge.io/) framework.
The code is designed based on [Beam](https://github.com/zonca/planck-levelS/tree/master/Beam), which is part of [LevelS](https://github.com/zonca/planck-levelS), the pipleline of the Planck experiment.
The code is designed based on [Beam](https://github.com/zonca/planck-levelS/tree/master/Beam), which is part of [LevelS](https://github.com/zonca/planck-levelS), the pipeline of the Planck experiment.

## Instllation
## Installation

```
pip install grasp2alm
Expand Down
7 changes: 2 additions & 5 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
Expand All @@ -18,6 +18,3 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

html: Makefile
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "docs" $(SPHINXOPTS) $(O)
Binary file removed docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/_build/doctrees/grasp2alm.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file removed docs/_build/doctrees/modules.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/_build/html/.buildinfo

This file was deleted.

250 changes: 0 additions & 250 deletions docs/_build/html/_modules/grasp2alm/beam2alm.html

This file was deleted.

302 changes: 0 additions & 302 deletions docs/_build/html/_modules/grasp2alm/beam_cut.html

This file was deleted.

362 changes: 0 additions & 362 deletions docs/_build/html/_modules/grasp2alm/beam_grid.html

This file was deleted.

227 changes: 0 additions & 227 deletions docs/_build/html/_modules/grasp2alm/beam_map.html

This file was deleted.

Loading

0 comments on commit 78d6aa3

Please sign in to comment.