Commit dda2857a authored by Martin Reinecke's avatar Martin Reinecke Committed by Philipp Arras
Browse files

more fixes

parent 0442b931
Pipeline #70592 failed with stages
in 11 minutes and 13 seconds
......@@ -88,7 +88,7 @@ class _ApplicationWithoutMeanOperator(EndomorphicOperator):
def apply(self, x, mode):
self._check_input(x, mode)
mean = x.mean()
mean = x.s_mean()
return mean + self._op.apply(x - mean, mode)
def __repr__(self):
......
......@@ -92,7 +92,7 @@ def get_signal_variance(spec, space):
field = PS_field(space, spec)
dist = PowerDistributor(space.harmonic_partner, space)
k_field = dist(field)
return k_field.weight(2).sum()
return k_field.weight(2).s_sum()
def _single_power_analyze(field, idx, binbounds):
......
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