order of C_ell different from HEALPIX! #64

Open
zonca opened this Issue Nov 6, 2012 · 2 comments

2 participants

@zonca
healpy member

Order of spectra in HEALPIX is .... TE, TB, EB:
http://healpix.jpl.nasa.gov/html/facilitiesnode7.htm

while the order in healpy is .... TE, EB, TB:
https://github.com/healpy/healpy/blob/master/healpy/sphtfunc.py#L79

I fixed the test case on anafast, see related commit.
What is strange is that healpy uses HEALPIX C++ which uses the same convention as the fortran code.

Cyrille, do you have an idea of what might causing this?

@crosset crosset was assigned Nov 6, 2012
@zonca zonca added a commit that referenced this issue Nov 6, 2012
@zonca zonca fixed test on anafast, issue #64 c512b4a
@zonca zonca added a commit that referenced this issue Nov 6, 2012
@zonca zonca added comment on test case, issue #64 6594fe7
@crosset
healpy member
@zonca
healpy member

internally we use row order anyway, so I think it would be better to use HealPix order for input/output, as it makes more sense to list them in order of amplitude or importance, and better be compatible with HealPix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment