magpie.pixels.healpix_boundary
- magpie.pixels.healpix_boundary(p, nside, steps=40, reverse=False)
Returns the boundary of a healpix pixel in healpix x and y coordinates, default given in clockwise directions.
- Parameters
- pint
Healpix pixel index.
- nsideint
Healpix Nside.
- stepsint, optional
Number of steps.
- reversebool, optional
Reverse the order so the output is anti-clockwise.
- Returns
- xarray
X-coordinates of the boundaries of the healpix pixel.
- yarray
Y-coordinates of the boundaries of the healpix pixel.