workflows/shared/imaging/imaging_shared.py
def sum_predict_results(results):
    """ Sum a set of predict results of the same shape

    :param results: List of visibilities to be summed
    :return: summed visibility
    """
    sum_results = None
    for result in results:
        if result is not None:
            if sum_results is None:
                sum_results = copy_visibility(result)
            else:
                assert sum_results.data['vis'].shape == result.data['vis'].shape
                sum_results.data['vis'] += result.data['vis']
    
    return sum_results
 Sum a set of predict results of the same shape

    :param results: List of visibilities to be summed
    :return: summed visibility
    
Sum a set of predict results of the same shape
Sum a set of predict results of the same shape
def sum_predict_results(results):
    sum_results = None
    for result in results:
        if result is not None:
            if sum_results is None:
                sum_results = copy_visibility(result)
            else:
                assert sum_results.data['vis'].shape == result.data['vis'].shape
                sum_results.data['vis'] += result.data['vis']
    return sum_results
def sum_predict_results ( results ) : sum_results = None for result in results : if result is not None : if sum_results is None : sum_results = copy_visibility ( result ) else : assert sum_results . data [ 'vis' ] . shape == result . data [ 'vis' ] . shape sum_results . data [ 'vis' ] += result . data [ 'vis' ] return sum_results
Sum a set of predict results of the same shape
Sum a set of predict results of the same shape
""" Sum a set of predict results of the same shape

    :param results: List of visibilities to be summed
    :return: summed visibility
    """
None
results
List of visibilities to be summed
List of visibilities to be summed