processing_components/visibility/base.py
def create_visibility_from_ms(msname, channum=None, start_chan=None, end_chan=None,  ack=False):
    """ Minimal MS to BlockVisibility converter

    The MS format is much more general than the ARL BlockVisibility so we cut many corners. This requires casacore to be
    installed. If not an exception ModuleNotFoundError is raised.

    Creates a list of BlockVisibility's, split by field and spectral window

    Reading of a subset of channels is possible using either start_chan and end_chan or channnum. Using start_chan
    and end_chan is preferred since it only reads the channels required. Channum is more flexible and can be used to
    read a random list of channels.
    
    :param msname: File name of MS
    :param channum: range of channels e.g. range(17,32), default is None meaning all
    :param start_chan: Starting channel to read
    :param end_chan: End channel to read
    :return:
    """
    from processing_components.visibility.coalesce import convert_blockvisibility_to_visibility
    return [convert_blockvisibility_to_visibility(v)
            for v in create_blockvisibility_from_ms(msname=msname, channum=channum,
                                                    start_chan=start_chan, end_chan=end_chan, ack=ack)]
 Minimal MS to BlockVisibility converter

    The MS format is much more general than the ARL BlockVisibility so we cut many corners. This requires casacore to be
    installed. If not an exception ModuleNotFoundError is raised.

    Creates a list of BlockVisibility's, split by field and spectral window

    Reading of a subset of channels is possible using either start_chan and end_chan or channnum. Using start_chan
    and end_chan is preferred since it only reads the channels required. Channum is more flexible and can be used to
    read a random list of channels.
    
    :param msname: File name of MS
    :param channum: range of channels e.g. range(17,32), default is None meaning all
    :param start_chan: Starting channel to read
    :param end_chan: End channel to read
    :return:
    
Minimal MS to BlockVisibility converter
The MS format is much more general than the ARL BlockVisibility so we cut many corners. This requires casacore to be
installed. If not an exception ModuleNotFoundError is raised.

Creates a list of BlockVisibility's, split by field and spectral window

Reading of a subset of channels is possible using either start_chan and end_chan or channnum. Using start_chan
and end_chan is preferred since it only reads the channels required. Channum is more flexible and can be used to
read a random list of channels.
Minimal MS to BlockVisibility converter The MS format is much more general than the ARL BlockVisibility so we cut many corners . This requires casacore to be installed . If not an exception ModuleNotFoundError is raised . Creates a list of BlockVisibility ' s split by field and spectral window Reading of a subset of channels is possible using either start_chan and end_chan or channnum . Using start_chan and end_chan is preferred since it only reads the channels required . Channum is more flexible and can be used to read a random list of channels .
def create_visibility_from_ms(msname, channum=None, start_chan=None, end_chan=None,  ack=False):
    from processing_components.visibility.coalesce import convert_blockvisibility_to_visibility
    return [convert_blockvisibility_to_visibility(v)
            for v in create_blockvisibility_from_ms(msname=msname, channum=channum,
                                                    start_chan=start_chan, end_chan=end_chan, ack=ack)]
def create_visibility_from_ms ( msname , channum = None , start_chan = None , end_chan = None , ack = False ) : from processing_components . visibility . coalesce import convert_blockvisibility_to_visibility return [ convert_blockvisibility_to_visibility ( v ) for v in create_blockvisibility_from_ms ( msname = msname , channum = channum , start_chan = start_chan , end_chan = end_chan , ack = ack ) ]
Minimal MS to BlockVisibility converter
The MS format is much more general than the ARL BlockVisibility so we cut many corners.
Minimal MS to BlockVisibility converter The MS format is much more general than the ARL BlockVisibility so we cut many corners .
""" Minimal MS to BlockVisibility converter

    The MS format is much more general than the ARL BlockVisibility so we cut many corners. This requires casacore to be
    installed. If not an exception ModuleNotFoundError is raised.

    Creates a list of BlockVisibility's, split by field and spectral window

    Reading of a subset of channels is possible using either start_chan and end_chan or channnum. Using start_chan
    and end_chan is preferred since it only reads the channels required. Channum is more flexible and can be used to
    read a random list of channels.
    
    :param msname: File name of MS
    :param channum: range of channels e.g. range(17,32), default is None meaning all
    :param start_chan: Starting channel to read
    :param end_chan: End channel to read
    :return:
    """
None
msname
File name of MS
File name of MS
channum
range of channels e.g. range(17,32), default is None meaning all
range of channels e . g . range ( 17 32 ) default is None meaning all
start_chan
Starting channel to read
Starting channel to read
end_chan
End channel to read
End channel to read
ack