nifty7.operators.convolution_operators module#

FuncConvolutionOperator(domain, func, space=None)[source]#

Convolves input with a radially symmetric kernel defined by func

  • domain (DomainTuple) – Domain of the operator.

  • func (function) – This function needs to take exactly one argument, which is colatitude in radians, and return the kernel amplitude at that colatitude.

  • space (int, optional) – 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.