healpy.dist2holes¶
- healpy.dist2holes(m, maxdist=3.141592653589793)¶
Computes the distance (in radians) from pixel center to center of closest invalid pixel up to a maximal distance.
- Parameters:
- marray-like, shape (Npix,)
The input mask.
- maxdistfloat
The maximal distance in radians. Pixel farther from this distance are not taken into account (default: pi).
- Returns:
- distancesout map of distances (in radians) in RING scheme as numpy arrays