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
NIFTy
Commits
84b6a32c
Commit
84b6a32c
authored
Jun 17, 2013
by
Marco Selig
Browse files
critical typo corrected.
parent
294ad6eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty_power.py
View file @
84b6a32c
...
...
@@ -495,7 +495,7 @@ def infer_power(m,domain=None,Sk=None,D=None,pindex=None,pundex=None,kindex=None
trB2
=
Sk
.
pseudo_tr
(
D
,
**
kwargs
)
## probing of the partial traces of D
if
(
np
.
any
(
trB2
<
0
)):
about
.
warnings
.
cprint
(
"WARNING: nonpositive value(s) in tr[DSk] reset to 0."
)
trB2
=
np
.
maximum
lgo
(
0
,
trB2
)
trB2
=
np
.
maximum
(
0
,
trB2
)
## power spectrum
numerator
=
2
*
q
+
trB1
+
perception
[
0
]
*
trB2
## non-bare(!)
denominator1
=
rho
+
2
*
(
alpha
-
1
+
perception
[
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