Skip to content
GitLab
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
9a32d679
Commit
9a32d679
authored
Jan 23, 2021
by
Philipp Arras
Browse files
Fix doc warnings
parent
dee5dfec
Pipeline
#92006
passed with stages
in 11 minutes and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/domains/lm_space.py
View file @
9a32d679
...
...
@@ -106,15 +106,16 @@ class LMSpace(StructuredDomain):
def
get_conv_kernel_from_func
(
self
,
func
):
"""Creates a convolution kernel defined by a function.
Assumes the function to be radially symmetric, e.g. only dependant on
theta in radians.
Parameters
----------
func: function
This function needs to take exactly one argument, which is
colatitude in radians, and return the kernel amplitude at that
colatitude.
Assumes the function to be radially symmetric,
e.g. only dependant on theta in radians"""
"""
from
.gl_space
import
GLSpace
from
..operators.harmonic_operators
import
HarmonicTransformOperator
from
ducc0.misc
import
GL_thetas
...
...
src/domains/rg_space.py
View file @
9a32d679
...
...
@@ -153,15 +153,16 @@ class RGSpace(StructuredDomain):
def
get_conv_kernel_from_func
(
self
,
func
):
"""Creates a convolution kernel defined by a function.
Assumes the function to be radially symmetric, e.g. only dependant on
distance.
Parameters
----------
func: function
This function needs to take exactly one argument, which is
distance from center (in the same units as the RGSpace distances),
and return the kernel amplitude at that distance.
Assumes the function to be radially symmetric,
e.g. only dependant on distance"""
"""
from
..operators.harmonic_operators
import
HarmonicTransformOperator
if
(
not
self
.
harmonic
):
raise
NotImplementedError
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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