Commit 1145c9c3 authored by Martin Reinecke's avatar Martin Reinecke

merge from master

parents 743a9136 fa229f6c
Pipeline #12700 passed with stage
in 6 minutes and 20 seconds
......@@ -30,6 +30,7 @@ def create_power_operator(domain, power_spectrum, dtype=None,
distribution_strategy=distribution_strategy)
fp = Field(power_domain, val=power_spectrum, dtype=dtype,
distribution_strategy=distribution_strategy)
fp **= 2
f = fp.power_synthesize(mean=1, std=0, real_signal=False)
return DiagonalOperator(domain, diagonal=f, bare=True)
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