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
5b674528
Commit
5b674528
authored
May 13, 2017
by
Theo Steininger
Browse files
Docstring refactoring
parent
63af9bd5
Pipeline
#12387
passed with stage
in 5 minutes and 36 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
nifty/operators/linear_operator/linear_operator.py
View file @
5b674528
...
@@ -249,8 +249,8 @@ class LinearOperator(Loggable, object):
...
@@ -249,8 +249,8 @@ class LinearOperator(Loggable, object):
raise
raise
return
y
return
y
def
inverse_adjoint_times
(
self
,
x
,
spaces
=
None
,
**
kwargs
):
def
inverse_adjoint_times
(
self
,
x
,
spaces
=
None
):
return
self
.
adjoint_inverse_times
(
x
,
spaces
,
**
kwargs
)
return
self
.
adjoint_inverse_times
(
x
,
spaces
)
def
_times
(
self
,
x
,
spaces
):
def
_times
(
self
,
x
,
spaces
):
raise
NotImplementedError
(
raise
NotImplementedError
(
...
...
nifty/spaces/rg_space/rg_space.py
View file @
5b674528
...
@@ -92,15 +92,6 @@ class RGSpace(Space):
...
@@ -92,15 +92,6 @@ class RGSpace(Space):
def
__init__
(
self
,
shape
,
zerocenter
=
False
,
distances
=
None
,
def
__init__
(
self
,
shape
,
zerocenter
=
False
,
distances
=
None
,
harmonic
=
False
):
harmonic
=
False
):
"""
Sets the attributes for an RGSpace class instance.
Returns
-------
None
"""
self
.
_harmonic
=
bool
(
harmonic
)
self
.
_harmonic
=
bool
(
harmonic
)
super
(
RGSpace
,
self
).
__init__
()
super
(
RGSpace
,
self
).
__init__
()
...
@@ -227,7 +218,8 @@ class RGSpace(Space):
...
@@ -227,7 +218,8 @@ class RGSpace(Space):
Returns
Returns
-------
-------
distributed_data_object
distributed_data_object
A d2o containing the distances
A d2o containing the distances.
"""
"""
shape
=
self
.
shape
shape
=
self
.
shape
...
...
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