Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tests and documentation #9

Merged
merged 12 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading