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
c61ff478
Commit
c61ff478
authored
Mar 20, 2020
by
Maximilian Schanner
Browse files
Using dspharm_full instead of access by indices
parent
645e99d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
corbass/inversion.py
View file @
c61ff478
...
...
@@ -242,7 +242,7 @@ class Inversion:
self
.
cor_obs_full
=
np
.
copy
(
self
.
cov_NEZ_obs
[:,
self
.
idx_NEZ_full
])
self
.
mu_NEZ_full
=
np
.
dot
(
self
.
g_bar
,
self
.
dspharm_
obs
[:,
self
.
idx_NEZ_
full
]
)
dspharm_full
)
self
.
mu_NEZ_obs
=
np
.
dot
(
self
.
g_bar
,
self
.
dspharm_obs
)
\
+
np
.
linalg
.
multi_dot
([
self
.
cor_obs_full
,
...
...
@@ -254,7 +254,7 @@ class Inversion:
self
.
cor_obs_full
.
T
])
self
.
R_obs
=
self
.
dspharm_obs
\
-
np
.
linalg
.
multi_dot
((
self
.
dspharm_
obs
[:,
self
.
idx_NEZ_
full
]
,
-
np
.
linalg
.
multi_dot
((
dspharm_full
,
self
.
prc_NEZ_full
,
self
.
cor_obs_full
.
T
))
...
...
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