neighbours_nest
call neighbours_nest( nside, ipix, list, nneigh )
name & dimensionality | kind | in/out | description |
---|---|---|---|
nside | I4B | IN | The Nside parameter of the map. |
ipix | I4B | IN | The pixel number of the central pixel. |
list(8) | I4B | 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).
Eric Hivon 2005-08-31