Commit 1c4f76ac authored by Theo Steininger's avatar Theo Steininger

Fixed hermitianization in Field.power_synthesize

parent 82a92a51
......@@ -596,8 +596,9 @@ class Field(Loggable, Versionable, object):
domain_axes[space],
preserve_gaussian_variance=True)
c = (hh - ha - ah + aa).conjugate()
h = (val + c)/2.
a = (val - c)/2.
full = (hh + ha + ah + aa)
h = (full + c)/2.
a = (full - c)/2.
# correct variance
......
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