Commit 2627a1e3 authored by Philipp Arras's avatar Philipp Arras

Move documentation to correct position

parent 92055ad4
......@@ -30,23 +30,23 @@ from .linear_operator import LinearOperator
class LinearInterpolator(LinearOperator):
def __init__(self, domain, sampling_points):
"""
Multilinear interpolation for points in an RGSpace
"""
Multilinear interpolation for points in an RGSpace
Parameters
----------
domain : RGSpace
positions : numpy.ndarray
Positions at which to interpolate
Field with UnstructuredDomain, shape (dim, ndata)
Parameters
----------
domain : RGSpace
positions : numpy.ndarray
Positions at which to interpolate
Field with UnstructuredDomain, shape (dim, ndata)
Notes
-----
Positions that are not within the RGSpace are wrapped according to
periodic boundary conditions. This reflects the general property of
RGSpaces to be tori topologically.
"""
Notes
-----
Positions that are not within the RGSpace are wrapped according to
periodic boundary conditions. This reflects the general property of
RGSpaces to be tori topologically.
"""
def __init__(self, domain, sampling_points):
self._domain = makeDomain(domain)
for dom in self.domain:
if not isinstance(dom, RGSpace):
......
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