def visibility_recentre(uvw, dl, dm):
""" Compensate for kernel re-centering - see `w_kernel_function`.
:param uvw: Visibility coordinates
:param dl: Horizontal shift to compensate for
:param dm: Vertical shift to compensate for
:returns: Visibility coordinates re-centrered on the peak of their w-kernel
"""
u, v, w = numpy.hsplit(uvw, 3)
return numpy.hstack([u - w * dl, v - w * dm, w])
convolutional_gridding.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录