@@ -86,10 +86,21 @@ typedef struct
8686 } sharp_alm_info ;
8787
8888/*! alm_info flags */
89- typedef enum { SHARP_PACKED = 1
90- /*< m=0-coefficients are packed so that the (zero) imaginary part is
91- not present. mvstart is in units of *real* float/double for all
92- m; stride is in units of reals for m=0 and complex for m!=0 */
89+ typedef enum { SHARP_PACKED = 1 ,
90+ /*!< m=0-coefficients are packed so that the (zero) imaginary part is
91+ not present. mvstart is in units of *real* float/double for all
92+ m; stride is in units of reals for m=0 and complex for m!=0 */
93+ SHARP_REAL_HARMONICS = 1 <<6
94+ /*!< Use the real spherical harmonic convention. For
95+ m==0, the alm are treated exactly the same as in
96+ the complex case. For m!=0, alm[i] represent a
97+ pair (+abs(m), -abs(m)) instead of (real, imag),
98+ and the coefficients are scaled by a factor of
99+ sqrt(2) relative to the complex case. In other
100+ words, (sqrt(.5) * alm[i]) recovers the
101+ corresponding complex coefficient (when accessed
102+ as complex).
103+ */
93104 } sharp_almflags ;
94105
95106
@@ -172,17 +183,10 @@ typedef enum { SHARP_DP = 1<<4,
172183 SHARP_ADD = 1 <<5 ,
173184 /*!< results are added to the output arrays, instead of
174185 overwriting them */
175- SHARP_REAL_HARMONICS = 1 <<6 ,
176- /*!< Use the real spherical harmonic convention. For
177- m==0, the alm are treated exactly the same as in
178- the complex case. For m!=0, alm[i] represent a
179- pair (+abs(m), -abs(m)) instead of (real, imag),
180- and the coefficients are scaled by a factor of
181- sqrt(2) relative to the complex case. In other
182- words, (sqrt(.5) * alm[i]) recovers the
183- corresponding complex coefficient (when accessed
184- as complex).
185- */
186+
187+ /* NOTE: SHARP_REAL_HARMONICS, 1<<6, is also available in sharp_jobflags,
188+ but its use here is deprecated in favor of having it in the sharp_alm_info */
189+
186190 SHARP_NO_FFT = 1 <<7 ,
187191
188192 SHARP_USE_WEIGHTS = 1 <<20 , /* internal use only */
0 commit comments