Commit cf93d61d authored by Philipp Arras's avatar Philipp Arras
Browse files

No whitespace after """ and further cosmetics

parent 2627a1e3
......@@ -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
......
......@@ -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
----------
......
......@@ -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.
......
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