Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added comment on test case, issue #64

  • Loading branch information...
commit 6594fe7cee189d4f98e1a12cd4eb8a8456563794 1 parent c512b4a
@zonca zonca authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 healpy/test/test_sphtfunc.py
View
4 healpy/test/test_sphtfunc.py
@@ -41,8 +41,8 @@ def test_anafast_iqu(self):
self.assertEqual(len(cl), 6)
for comp in range(6):
comphealpix = comp
- if comp in [4,5]:
- comphealpix = {4:5, 5:4}[comp]
+ if comp in [4,5]: # order of HEALPIX is TB, EB while in healpy is EB, TB
+ comphealpix = {4:5, 5:4}[comp]
np.testing.assert_array_almost_equal(cl[comp], cliqu.field(comphealpix), decimal=8)
def test_anafast_xspectra(self):
Please sign in to comment.
Something went wrong with that request. Please try again.