mytb = casac.table()
fringefit('s8.ms', 'test_snr.t', combine='spw', refant='LA', parang=True, globalsolve=False)
fringefit('s8.ms', 'test_snr_global.t', combine='spw', refant='LA', parang=True, globalsolve=True)

mytb.open('test_snr.t')
print('FFT SNRS:')
print mytb.getcell('SNR',0)
print('')
mytb.close()

mytb.open('test_snr_global.t')
print('SNRs after global solve look strange except for the first entries:')
print mytb.getcell('SNR',0)
print('')
mytb.close()
