dist2holes_nest
For a input binary mask in NESTED ordering, dist2holes_nest returns the angular distance (in
radians) from each valid (1-valued) pixel to the closest invalid (0-valued)
pixel. Distances are measured between pixel centers.
Location in HEALPix directory tree: src/f90/mod/mask_tools.F90
FORMAT
ARGUMENTS
name & dimensionality |
kind |
in/out |
description |
|
|
|
|
nside |
I4B |
IN |
the
value of the input mask. |
mask(0:Npix-1) |
I4B |
IN |
Input NESTED-ordered mask. Npix = 12*nside*nside |
distance(0:Npix-1) |
DP |
OUT |
Output NESTED-ordered angular-distance map |
EXAMPLE:
use healpix_types
use healpix_modules
...
call dist2holes_nest(nside, mask, distance)
???
MODULES & ROUTINES
This section lists the modules and routines used by dist2holes_nest.
-
mask_tools
- mask processing module (see related routines below)
RELATED ROUTINES
This section lists the routines related to dist2holes_nest
-
dist2holes_nest
- angular distance to
closest invalid pixel of the given mask
-
fill_holes_nest
- turn to valid all
pixels located in 'holes' containing fewer pixels than the given threshold
-
maskborder_nest
- identify inner
boundary pixels of 'holes' for given mask
-
size_holes_nest
- returns size (in
pixels) of holes found in input mask
Version 3.82, 2022-07-28