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
pymagglobal
Commits
e4f98bb6
Commit
e4f98bb6
authored
Apr 20, 2021
by
Maximilian Schanner
Browse files
Typo fix in scaling.
parent
b437f063
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pymagglobal/utils.py
View file @
e4f98bb6
...
...
@@ -477,4 +477,4 @@ def dsh_basis(lmax, z, out, R=REARTH):
out
[:,
2
::
3
]
*=
-
(
ell
+
1
)
# Scaling for sources of internal origin
out
*=
np
.
repeat
((
R
/
z
[
2
:
3
,
:])
**
(
l
+
2
),
3
,
axis
=
1
)
out
*=
np
.
repeat
((
R
/
z
[
2
:
3
,
:])
**
(
el
l
+
2
),
3
,
axis
=
1
)
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