Skip to content
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
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ body:
attributes:
label: What Can be Improved About This Section
description: Is it incomplete, incorrect or difficult to understand?
validations:
required: true
Comment on lines -19 to -20
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is annoying me

- id: suggestions
type: textarea
attributes:
Expand Down
34 changes: 34 additions & 0 deletions docs/modules/healpix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
.. module:: glass.healpix

:mod:`glass.healpix` --- Array API compatible HEALPix functions
===============================================================

.. currentmodule:: glass.healpix

This module contains functions for working with HEALPix maps in an Array API
compliant manner used with GLASS.

This module should be imported manually if used outside of GLASS::

import glass.healpix as hp

``healpix`` Functions
---------------------

.. autofunction:: ang2pix
.. autofunction:: ang2vec
.. autofunction:: npix2nside
.. autofunction:: nside2npix
.. autofunction:: randang

``healpy`` Functions
--------------------

.. autofunction:: alm2map
.. autofunction:: alm2map_spin
.. autofunction:: almxfl
.. autofunction:: get_nside
.. autofunction:: map2alm
.. autofunction:: pixwin
.. autofunction:: query_strip
.. automethod:: Rotator.rotate_map_pixel
1 change: 1 addition & 0 deletions docs/modules/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Modules
arraytools
grf
harmonics
healpix
3 changes: 2 additions & 1 deletion glass/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"glass_to_healpix_spectra",
"grf",
"harmonics",
"healpix",
"healpix_to_glass_spectra",
"iternorm",
"linear_bias",
Expand Down Expand Up @@ -79,7 +80,7 @@
from ._version import __version__

# modules
from glass import algorithm, arraytools, grf, harmonics
from glass import algorithm, arraytools, grf, harmonics, healpix
from glass.fields import (
check_posdef_spectra,
cls2cov,
Expand Down