Function needed to invert phase of visibilties do scan-by-scan, spw-by-spw (ddids) visibility phase flip on requested column assumes pylap is pl, and table component available For column, specify 'DATA', 'CORRECTED_DATA' or 'MODEL_DATA' Usage: signflip('data.ms','CORRECTED_DATA')