workflows/serial/imaging/imaging_serial.py
def zero_list_serial_workflow(vis_list):
    """ Initialise vis to zero: creates new data holders

    :param vis_list:
    :return: List of vis_lists
   """
    
    def zero(vis):
        if vis is not None:
            zerovis = copy_visibility(vis)
            zerovis.data['vis'][...] = 0.0
            return zerovis
        else:
            return None
    
    return [zero(v) for v in vis_list]
 Initialise vis to zero: creates new data holders

    :param vis_list:
    :return: List of vis_lists
   
Initialise vis to zero: creates new data holders
Initialise vis to zero : creates new data holders
def zero_list_serial_workflow(vis_list):
    def zero(vis):
        if vis is not None:
            zerovis = copy_visibility(vis)
            zerovis.data['vis'][...] = 0.0
            return zerovis
        else:
            return None
    return [zero(v) for v in vis_list]
def zero_list_serial_workflow ( vis_list ) : def zero ( vis ) : if vis is not None : zerovis = copy_visibility ( vis ) zerovis . data [ 'vis' ] [ ... ] = 0.0 return zerovis else : return None return [ zero ( v ) for v in vis_list ]
Initialise vis to zero: creates new data holders
Initialise vis to zero : creates new data holders
""" Initialise vis to zero: creates new data holders

    :param vis_list:
    :return: List of vis_lists
   """
List of vis_lists
List of vis_lists
vis_list
None