thegooglecodearchive / healpy

Automatically exported from code.google.com/p/healpy
GNU General Public License v2.0
0 stars 0 forks source link

get_neighbours and get_all_neighbours returns bogus results in some cases when nest=True #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If get_neighbours(nside, pixnum, nest=True) is called incorrect results will be 
returned.

Similarly get_all_neighbours(nside, theta, phi, nest=True) will give the wrong 
results.

Both of these are due to the nest keyword not being passed along to necessary 
routines.  The attached patch fixes these issues.

Also in the patch is a fix for the documentation of get_all_neighbours to be 
consistent with get_neighbours.

Original issue reported on code.google.com by cjc...@gmail.com on 16 Sep 2010 at 12:38

Attachments:

GoogleCodeExporter commented 9 years ago
thanks,
fixed in rev 129.

for patches you can also use github:
http://github.com/zonca/healpy

Original comment by andrea.z...@gmail.com on 12 Oct 2010 at 12:58