Commit 7306562b authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 7d25f385
......@@ -60,6 +60,7 @@ def create_power_operator(domain, power_spectrum, dtype=None):
fp = Field(power_domain,
val=power_spectrum(power_domain.kindex), dtype=dtype)
# MR FIXME: why generate a non-random random field?
f = fp.power_synthesize(mean=1, std=0, real_signal=False)
if not issubclass(fp.dtype.type, np.complexfloating):
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