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
9e24b6ca
Commit
9e24b6ca
authored
May 08, 2020
by
Maximilian Schanner
Browse files
Confused lat and lon.
parent
cd74d83b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
corbass/evaluation.py
View file @
9e24b6ca
...
...
@@ -178,8 +178,8 @@ 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
)
lon
[
np
.
where
(
180
<
lon
)]
-=
360
return
lat
,
lon
,
dens
...
...
examples/Example_3_Evaluation.ipynb
View file @
9e24b6ca
This diff is collapsed.
Click to expand it.
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