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

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,
fp = Field(power_domain, val=power_spectrum, dtype=dtype,
fp **= 2
f = fp.power_synthesize(mean=1, std=0, real_signal=False)
return DiagonalOperator(domain, diagonal=f, bare=True)
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