Commit e9f7688b authored by Theo Steininger's avatar Theo Steininger
Browse files

Set default for real_signal in Field.power_analyze and Field.power_synthesize to False.

parent c2482aa1
......@@ -168,7 +168,7 @@ class Field(Loggable, Versionable, object):
# ---Powerspectral methods---
def power_analyze(self, spaces=None, log=False, nbin=None, binbounds=None,
# check if all spaces in `self.domain` are either harmonic or
# power_space instances
for sp in self.domain:
......@@ -303,7 +303,7 @@ class Field(Loggable, Versionable, object):
return result_obj
def power_synthesize(self, spaces=None, real_power=True, real_signal=True,
def power_synthesize(self, spaces=None, real_power=True, real_signal=False,
mean=None, std=None):
# check if the `spaces` input is valid
Supports Markdown
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