Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
453fbd4d
Commit
453fbd4d
authored
Mar 30, 2018
by
Martin Reinecke
Browse files
cosmetics
parent
93f99d30
Pipeline
#26651
passed with stages
in 8 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty4/library/wiener_filter_energy.py
View file @
453fbd4d
...
@@ -30,7 +30,7 @@ def WienerFilterEnergy(position, d, R, N, S, inverter):
...
@@ -30,7 +30,7 @@ def WienerFilterEnergy(position, d, R, N, S, inverter):
----------
----------
position : Field
position : Field
The current map in harmonic space.
The current map in harmonic space.
d :
Field
d : Field
the data
the data
R : LinearOperator
R : LinearOperator
The response operator, description of the measurement process. It needs
The response operator, description of the measurement process. It needs
...
...
nifty4/sugar.py
View file @
453fbd4d
...
@@ -44,6 +44,8 @@ def _single_power_analyze(field, idx, binbounds):
...
@@ -44,6 +44,8 @@ def _single_power_analyze(field, idx, binbounds):
return
pd
.
adjoint_times
(
field
.
weight
(
1
)).
weight
(
-
1
)
# divides by bin size
return
pd
.
adjoint_times
(
field
.
weight
(
1
)).
weight
(
-
1
)
# divides by bin size
# MR FIXME: this function is not well suited for analyzing more than one
# subdomain at once, because it allows only one set of binbounds.
def
power_analyze
(
field
,
spaces
=
None
,
binbounds
=
None
,
def
power_analyze
(
field
,
spaces
=
None
,
binbounds
=
None
,
keep_phase_information
=
False
):
keep_phase_information
=
False
):
""" Computes the power spectrum for a subspace of `field`.
""" Computes the power spectrum for a subspace of `field`.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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