thegooglecodearchive / healpy

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

Healpy and jhealpix differ in result #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
-> see attached script

What is the expected output? What do you see instead?
Output of the two implementations should be equal

What version of the product are you using? On what operating system?
64 bit debian linux
healpy 0.10 with python 2.6
jhealpix 2.20a with jython 2.5.2

Original issue reported on code.google.com by mr.bobu...@gmail.com on 28 Apr 2011 at 2:01

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

the query_disc implementation of Java Healpix contains known bugs (see, e.g., 
the bug tracker at http://sourceforge.net/projects/healpix/).
A proposed fix exists, but implementation apparently takes time. If in doubt, I 
would currently trust the C++/Python algorithm :)

Original comment by martin.r...@gmx.de on 28 Apr 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Hi Martin,
I tested the suggested changes from bug 3154321 [1] but the issue still 
remains. Or are there other (open) bug reports I oversaw?

Best,
Lukas

[1] 
http://sourceforge.net/tracker/index.php?func=detail&aid=3154326&group_id=130539
&atid=718128

Original comment by mr.bobu...@gmail.com on 2 May 2011 at 7:52

GoogleCodeExporter commented 9 years ago
You say this is still incorrect with the trunk of the java Healpix ?
Do you get more or less pixels in Python ? C++ and Java should be similar now 
although we always get some funny rounding differences - I know C++ returns 
less pixels for some triangles than java.

Original comment by womul...@yahoo.co.uk on 15 May 2011 at 5:41