Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
b15cc6fa
Commit
b15cc6fa
authored
May 16, 2017
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/field.py
View file @
b15cc6fa
...
...
@@ -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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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