Commit 3aebc588 authored by Theo Steininger's avatar Theo Steininger
Browse files

Removed remnant dtype in Field.

parent cb27dc72
Pipeline #11913 passed with stages
in 16 minutes and 18 seconds
...@@ -210,16 +210,10 @@ class Field(Loggable, Versionable, object): ...@@ -210,16 +210,10 @@ class Field(Loggable, Versionable, object):
self.val.get_axes_local_distribution_strategy( self.val.get_axes_local_distribution_strategy(
self.domain_axes[space_index]) self.domain_axes[space_index])
if real_signal:
power_dtype = np.dtype('complex')
power_dtype = np.dtype('float')
harmonic_domain = self.domain[space_index] harmonic_domain = self.domain[space_index]
power_domain = PowerSpace(harmonic_domain=harmonic_domain, power_domain = PowerSpace(harmonic_domain=harmonic_domain,
distribution_strategy=distribution_strategy, distribution_strategy=distribution_strategy,
log=log, nbin=nbin, binbounds=binbounds, log=log, nbin=nbin, binbounds=binbounds)
# extract pindex and rho from power_domain # extract pindex and rho from power_domain
pindex = power_domain.pindex pindex = power_domain.pindex
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