processing_library/util/coordinate_support.py
def visibility_shift(uvw, vis, dl, dm):
    """
    Shift visibilities by the given image-space distance. This is
    based on simple FFT laws. It will require kernels to be suitably
    shifted as well to work correctly.

    :param uvw:
    :param vis: :math:`(u,v,w)` distribution of projected baselines (in wavelengths)
    :param vis: Input visibilities
    :param dl: Horizontal shift distance as directional cosine
    :param dm: Vertical shift distance as directional cosine
    :return: New visibilities

    """
    
    s = numpy.array([dl, dm])
    return vis * numpy.exp(-2j * numpy.pi * numpy.dot(uvw[:, 0:2], s))

    Shift visibilities by the given image-space distance. This is
    based on simple FFT laws. It will require kernels to be suitably
    shifted as well to work correctly.

    :param uvw:
    :param vis: :math:`(u,v,w)` distribution of projected baselines (in wavelengths)
    :param vis: Input visibilities
    :param dl: Horizontal shift distance as directional cosine
    :param dm: Vertical shift distance as directional cosine
    :return: New visibilities

    
Shift visibilities by the given image-space distance. This is
based on simple FFT laws. It will require kernels to be suitably
shifted as well to work correctly.
Shift visibilities by the given image - space distance . This is based on simple FFT laws . It will require kernels to be suitably shifted as well to work correctly .
def visibility_shift(uvw, vis, dl, dm):
    s = numpy.array([dl, dm])
    return vis * numpy.exp(-2j * numpy.pi * numpy.dot(uvw[:, 0:2], s))
def visibility_shift ( uvw , vis , dl , dm ) : s = numpy . array ( [ dl , dm ] ) return vis * numpy . exp ( - 2j * numpy . pi * numpy . dot ( uvw [ : , 0 : 2 ] , s ) )
Shift visibilities by the given image-space distance.
Shift visibilities by the given image - space distance .
"""
    Shift visibilities by the given image-space distance. This is
    based on simple FFT laws. It will require kernels to be suitably
    shifted as well to work correctly.

    :param uvw:
    :param vis: :math:`(u,v,w)` distribution of projected baselines (in wavelengths)
    :param vis: Input visibilities
    :param dl: Horizontal shift distance as directional cosine
    :param dm: Vertical shift distance as directional cosine
    :return: New visibilities

    """
None
uvw
None
vis
None
dl
Horizontal shift distance as directional cosine
Horizontal shift distance as directional cosine
dm
Vertical shift distance as directional cosine
Vertical shift distance as directional cosine