Commit b15cc6fa authored by Theo Steininger's avatar Theo Steininger
Browse files

Merge branch 'minor_changes' into 'master'

Minor changes in Field class

See merge request !124
parents 0ad045c1 9dcec5bc
Pipeline #12543 passed with stages
in 14 minutes and 2 seconds
...@@ -358,7 +358,7 @@ class Field(Loggable, Versionable, object): ...@@ -358,7 +358,7 @@ class Field(Loggable, Versionable, object):
self.domain_axes[space_index]) self.domain_axes[space_index])
harmonic_domain = self.domain[space_index] harmonic_domain = self.domain[space_index]
power_domain = PowerSpace(harmonic_domain=harmonic_domain, power_domain = PowerSpace(harmonic_partner=harmonic_domain,
distribution_strategy=distribution_strategy, distribution_strategy=distribution_strategy,
logarithmic=logarithmic, nbin=nbin, logarithmic=logarithmic, nbin=nbin,
binbounds=binbounds) binbounds=binbounds)
...@@ -512,7 +512,7 @@ class Field(Loggable, Versionable, object): ...@@ -512,7 +512,7 @@ class Field(Loggable, Versionable, object):
result_domain = list(self.domain) result_domain = list(self.domain)
for power_space_index in spaces: for power_space_index in spaces:
power_space = self.domain[power_space_index] power_space = self.domain[power_space_index]
harmonic_domain = power_space.harmonic_domain harmonic_domain = power_space.harmonic_partner
result_domain[power_space_index] = harmonic_domain result_domain[power_space_index] = harmonic_domain
# create random samples: one or two, depending on whether the # create random samples: one or two, depending on whether the
......
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