Commit 453fbd4d authored by Martin Reinecke's avatar Martin Reinecke
Browse files

cosmetics

parent 93f99d30
Pipeline #26651 passed with stages
in 8 minutes and 30 seconds
...@@ -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
......
...@@ -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`.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment