Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
pyHealpix
Commits
f488768b
Commit
f488768b
authored
May 03, 2017
by
Martin Reinecke
Browse files
sync: more support for adjoint SHTs
parent
9c97d150
Changes
1
Hide whitespace changes
Inline
Side-by-side
Healpix_cxx/alm_healpix_tools.h
View file @
f488768b
...
...
@@ -25,7 +25,7 @@
*/
/*! \file alm_healpix_tools.h
* Copyright (C) 2003-201
6
Max-Planck-Society
* Copyright (C) 2003-201
7
Max-Planck-Society
* \author Martin Reinecke
*/
...
...
@@ -158,18 +158,23 @@ template<typename T> void map2alm_pol_iter2
determined from this object.
\param map the output map, which must have RING ordering. */
template
<
typename
T
>
void
alm2map
(
const
Alm
<
xcomplex
<
T
>
>
&
alm
,
Healpix_Map
<
T
>
&
map
);
Healpix_Map
<
T
>
&
map
,
bool
add_map
=
false
);
/*! Adjoint of the alm2map transform.
\param map the input map, which must have RING ordering
\param alm the output a_lms. l_max and m_max of the conversion are
determined from this object. */
template
<
typename
T
>
void
alm2map_adjoint
(
const
Healpix_Map
<
T
>
&
map
,
Alm
<
xcomplex
<
T
>
>
&
alm
);
Alm
<
xcomplex
<
T
>
>
&
alm
,
bool
add_alm
=
false
);
template
<
typename
T
>
void
alm2map_spin
(
const
Alm
<
xcomplex
<
T
>
>
&
alm1
,
const
Alm
<
xcomplex
<
T
>
>
&
alm2
,
Healpix_Map
<
T
>
&
map1
,
Healpix_Map
<
T
>
&
map2
,
int
spin
);
Healpix_Map
<
T
>
&
map1
,
Healpix_Map
<
T
>
&
map2
,
int
spin
,
bool
add_map
=
false
);
template
<
typename
T
>
void
alm2map_spin_adjoint
(
const
Healpix_Map
<
T
>
&
map1
,
const
Healpix_Map
<
T
>
&
map2
,
Alm
<
xcomplex
<
T
>
>
&
alm1
,
Alm
<
xcomplex
<
T
>
>
&
alm2
,
int
spin
,
bool
add_alm
=
false
);
/*! Converts a a set of polarised a_lm to a HEALPix map.
\param almT the input temperature a_lms
...
...
@@ -184,7 +189,17 @@ template<typename T> void alm2map_pol
const
Alm
<
xcomplex
<
T
>
>
&
almC
,
Healpix_Map
<
T
>
&
mapT
,
Healpix_Map
<
T
>
&
mapQ
,
Healpix_Map
<
T
>
&
mapU
);
Healpix_Map
<
T
>
&
mapU
,
bool
add_map
=
false
);
template
<
typename
T
>
void
alm2map_pol_adjoint
(
const
Healpix_Map
<
T
>
&
mapT
,
const
Healpix_Map
<
T
>
&
mapQ
,
const
Healpix_Map
<
T
>
&
mapU
,
Alm
<
xcomplex
<
T
>
>
&
almT
,
Alm
<
xcomplex
<
T
>
>
&
almG
,
Alm
<
xcomplex
<
T
>
>
&
almC
,
bool
add_alm
=
false
);
/*! Converts a a set of a_lm to a HEALPix map and its first derivatives.
\param alm the input a_lms. l_max and m_max of the conversion are
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment