There is a maintenance of MPCDF Gitlab on Thursday, April 22st 2020, 9:00 am CEST - Expect some service interruptions during this time

Commit 9a32d679 authored by Philipp Arras's avatar Philipp Arras

Fix doc warnings

parent dee5dfec
Pipeline #92006 passed with stages
in 11 minutes and 7 seconds
......@@ -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
......
......@@ -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
......
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