Skip to content

Commit

Permalink
Update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
adl1995 committed Jun 6, 2017
1 parent 9da1f1f commit aca32b6
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions hips/utils/healpix.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,17 @@

def boundaries(nside: int, pix: int, nest: bool=False) -> tuple:
"""Returns an array containing the angle (theta and phi) in radians.
This method calls :py:meth:`.healpy.boundaries` and :py:meth:`.healpy.vec2ang`
Parameters
----------
nside : int
The nside of the HEALPix map
pix : int
Pixel identifier
This method calls `healpy.boundaries` and `healpy.vec2ang`.
nest : bool, optional
If True, assume NESTED pixel ordering, otherwise, RING pixel ordering
Parameters
----------
nside : int
The nside of the HEALPix map
pix : int
Pixel identifier
nest : bool, optional
If True, assume NESTED pixel ordering, otherwise, RING pixel ordering
Returns
-------
Expand Down

0 comments on commit aca32b6

Please sign in to comment.