Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
9dcec5bc
Commit
9dcec5bc
authored
May 16, 2017
by
Pumpe, Daniel (dpumpe)
Browse files
update of old keyword harmonic_domain to harmonic_partner
parent
9c0dde2d
Pipeline
#12532
passed with stage
in 6 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/field.py
View file @
9dcec5bc
...
...
@@ -358,7 +358,7 @@ class Field(Loggable, Versionable, object):
self
.
domain_axes
[
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
,
logarithmic
=
logarithmic
,
nbin
=
nbin
,
binbounds
=
binbounds
)
...
...
@@ -512,7 +512,7 @@ class Field(Loggable, Versionable, object):
result_domain
=
list
(
self
.
domain
)
for
power_space_index
in
spaces
:
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
# create random samples: one or two, depending on whether the
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment