Skip to content
Snippets Groups Projects
Commit 35acfb0c authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed hermitianization in Field for power_synthesize

parent 86b44136
No related branches found
No related tags found
1 merge request!78Multi power synth
Pipeline #
......@@ -363,15 +363,12 @@ class Field(Loggable, Versionable, object):
if real_signal:
for power_space_index in spaces:
harmonic_domain = result_domain[power_space_index]
result_val_list = \
[harmonic_domain.hermitian_decomposition(
result_val_list[0],
axes=result_list[0].domain_axes[power_space_index],
preserve_gaussian_variance=True)[0],
harmonic_domain.hermitian_decomposition(
result_val_list[1],
axes=result_list[1].domain_axes[power_space_index],
preserve_gaussian_variance=True)[1]]
result_val_list = [harmonic_domain.hermitian_decomposition(
result_val,
axes=result.domain_axes[power_space_index],
preserve_gaussian_variance=True)[0]
for (result, result_val)
in zip(result_list, result_val_list)]
# store the result into the fields
[x.set_val(new_val=y, copy=False) for x, y in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment