hats.pixel_math.pixel_margins#
Utilities for find the pixels of higher orders that surround a given healpixel.
Functions#
|
Get all the pixels at order order+delta_order bordering pixel pixel. |
Module Contents#
- get_margin(order, pixel, delta_order)[source]#
Get all the pixels at order order+delta_order bordering pixel pixel.
- Parameters:
- orderint
the healpix order of pixel.
- pixelint
the healpix pixel to find margin pixels of.
- delta_orderint
the change in order that we wish to find the margins for.
- Returns:
- list[int]
one-dimensional numpy array of integers, filled with the healpix pixels at order order+delta_order that border pixel.