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
cf93d61d
Commit
cf93d61d
authored
Jan 13, 2019
by
Philipp Arras
Browse files
No whitespace after """ and further cosmetics
parent
2627a1e3
Changes
23
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/qht_operator.py
View file @
cf93d61d
...
...
@@ -24,8 +24,7 @@ from .linear_operator import LinearOperator
class
QHTOperator
(
LinearOperator
):
"""
Does a Hartley transform on LogRGSpace
"""Does a Hartley transform on LogRGSpace
This operator takes a field on a LogRGSpace and transforms it
according to the Hartley transform. The zero modes are not transformed
...
...
nifty5/operators/slope_operator.py
View file @
cf93d61d
...
...
@@ -25,12 +25,11 @@ from .linear_operator import LinearOperator
class
SlopeOperator
(
LinearOperator
):
"""
Creates a slope on target.
"""Creates a slope on target.
This operator creates a field on a LogRGSpace, which is created
according
to a slope of given entries, (mean, y-intercept).
The slope mean is the
power law of the field in normal-space.
This operator creates a field on a LogRGSpace, which is created
according
to a slope of given entries, (mean, y-intercept).
The slope mean is the
power law of the field in normal-space.
Parameters
----------
...
...
nifty5/sugar.py
View file @
cf93d61d
...
...
@@ -99,7 +99,7 @@ def _single_power_analyze(field, idx, binbounds):
# subdomain at once, because it allows only one set of binbounds.
def
power_analyze
(
field
,
spaces
=
None
,
binbounds
=
None
,
keep_phase_information
=
False
):
"""
Computes the power spectrum for a subspace of `field`.
"""Computes the power spectrum for a subspace of `field`.
Creates a PowerSpace for the space addressed by `spaces` with the given
binning and computes the power spectrum as a Field over this
...
...
@@ -184,7 +184,7 @@ def _create_power_field(domain, power_spectrum):
def
create_power_operator
(
domain
,
power_spectrum
,
space
=
None
):
"""
Creates a diagonal operator with the given power spectrum.
"""Creates a diagonal operator with the given power spectrum.
Constructs a diagonal operator that is defined on the specified domain.
...
...
Prev
1
2
Next
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