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
sec23
korte
CORBASS
Commits
8a53fee7
Commit
8a53fee7
authored
May 08, 2020
by
Maximilian Schanner
Browse files
lat to [-180, 180]
parent
d602ded7
Changes
1
Hide whitespace changes
Inline
Side-by-side
corbass/evaluation.py
View file @
8a53fee7
...
...
@@ -178,6 +178,7 @@ def location(posterior, mu_dips, cov_dips, n_points=10000,
/
np
.
sqrt
((
2
*
np
.
pi
)
**
3
*
np
.
linalg
.
det
(
cov_dips
[
it
]))
\
*
np
.
cos
(
theta
)
*
zk
/
np
.
sqrt
(
zalpha
**
3
)
*
dummy
lat
=
np
.
rad2deg
(
theta
)
lat
[
np
.
where
(
180
<
lat
)]
-=
360
lon
=
np
.
rad2deg
(
phi
)
return
lat
,
lon
,
dens
...
...
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