magpie.pixel.healpix_boundary_top

healpix_boundary_top(p, nside[, steps=20, reverse=False])

Returns the top side of a healpix pixel in healpix x and y coordinates.

Parameters
pint

Healpix pixel index.

nsideint

Healpix Nside.

stepsint, optional

Number of steps for the top function.

reversebool, optional

Reverse the order so the output has descending x.

Returns
xarray

X-coordinates of the top side of the healpix pixel.

yarray

Y-coordinates of the top side of the healpix pixel.