hp_grow_argsort

rubin_sim.utils.hp_grow_argsort(in_map, ignore_nan=True)

Find the maximum of a healpix map, then orders healpixels by selecting the maximum bordering the selected area.

Parameters:
in_mapnp.array

A valid HEALpix array

ignore_nanbool (True)

If true, ignores values that are NaN

Returns:
ordered_hpint array

The indices that put in_map in the correct order