Skip to content
GitLab
Menu
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
437c3994
Commit
437c3994
authored
Jun 21, 2019
by
Philipp Arras
Browse files
Add more information to __repr__ in LogRGSpaces
parent
28c6c7b6
Pipeline
#50982
passed with stages
in 17 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/domains/log_rg_space.py
View file @
437c3994
...
...
@@ -80,8 +80,8 @@ class LogRGSpace(StructuredDomain):
return
np
.
array
(
self
.
_t_0
)
def
__repr__
(
self
):
return
(
"LogRGSpace(shape={}, harmonic={})"
.
format
(
self
.
shape
,
self
.
harmonic
))
return
(
"LogRGSpace(shape={},
bindistances={}, t_0={},
harmonic={})"
.
format
(
self
.
shape
,
self
.
bindistances
,
self
.
t_0
,
self
.
harmonic
))
def
get_default_codomain
(
self
):
"""Returns a :class:`LogRGSpace` object representing the (position or
...
...
Write
Preview
Supports
Markdown
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