And a second, there's a TEC correction that we may want to use for L-band observations that the VLBI obs. normally do. This was originally only in aips (VLBATECR) but I think it's now working in CASA. Official docs says it only corrects for Faraday rotation but EVN have it now in their reduction guide so may also correct for dispersive delays. The code to do this is as follows:
from recipes import tec_maps
tec_image, tec_rms_image, plotname = tec_maps.create(vis='experiment.ms', doplot=True)
gencal(vis='experiment.ms', caltable='cal.tecim',
caltype='tecim', infile='tec_image')
And a second, there's a TEC correction that we may want to use for L-band observations that the VLBI obs. normally do. This was originally only in aips (VLBATECR) but I think it's now working in CASA. Official docs says it only corrects for Faraday rotation but EVN have it now in their reduction guide so may also correct for dispersive delays. The code to do this is as follows: