neighbours_nest
call neighbours_nest( nside, ipix, list, nneigh )
name & dimensionality | kind | in/out | description |
---|---|---|---|
nside | I4B | IN | The
![]() |
ipix | I4B/ I8B | IN | The NESTED pixel index of the central pixel. |
list(8) | I4B/ I8B | OUT | On exit, the vector of neighbouring pixels. This contains nneigh relevant elements. |
nneigh | I4B | OUT | The number of neighbours (mostly 8, except at 8 sites, where there are only 7 neighbours). |
This returns nneigh=8 and a vector list, which contains the pixel numbers ( 90, 0, 2, 3, 6, 4, 94, 91).
Version 3.11, 2013-04-24