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
3cf78785
Commit
3cf78785
authored
May 24, 2017
by
Martin Reinecke
Browse files
convert z to colatitudes
parent
43b8a565
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyHealpix.cc
View file @
3cf78785
...
...
@@ -491,6 +491,8 @@ a_d_c GL_thetas(int64_t nlat)
auto
rr
=
res
.
mutable_unchecked
<
1
>
();
vector
<
double
>
dummy_weights
(
nlat
);
sharp_legendre_roots
(
nlat
,
&
rr
[
0
],
dummy_weights
.
data
());
for
(
size_t
i
=
0
;
i
<
rr
.
shape
(
0
);
++
i
)
rr
[
i
]
=
acos
(
-
rr
[
i
]);
return
res
;
}
...
...
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