Commit e75d7c8e authored by Julia Stadler's avatar Julia Stadler
Browse files

point out periodic boundary conditions

parent 23eb4453
Pipeline #45143 passed with stages
in 8 minutes and 45 seconds
......@@ -45,6 +45,12 @@ def FuncConvolutionOperator(domain, func, space=None):
The index of the subdomain on which the operator should act
If None, it is set to 0 if `domain` contains exactly one space.
`domain[space]` must be of type `RGSpace`, `HPSpace`, or `GLSpace`.
The operator assumes periodic boundaries in the input domain. This means for a sufficiently
broad function a point source close to the boundary will blur into the opposite side of the
image. Zero padding can be applied to avoid this behaviour.
domain = DomainTuple.make(domain)
space = utilities.infer_space(domain, space)
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