1. Create small vis-files with the bandpass calibrator
uvaver vis=vis_rx1.lsb.tsys select='source(3c279)' out=340bp_lsb \
options=nopass,nocal
uvaver vis=vis_rx1.usb.tsys select='source(3c279)' out=340bp_usb \
options=nopass,nocal
2. Derive bandpass solutions
smamfcal vis=340bp_lsb \
refant=5 interval=1000 edge=20,20 \
select='pol(rr,ll),window(12,13,14,15)' \
weight=2 options=msmooth,averrll smooth=5
smamfcal vis=340bp_usb \
refant=5 interval=1000 edge=20,20 \
select='pol(rr,ll),window(12,13,14,15)' \
weight=2 options=msmooth,averrll smooth=5
3. Plot bandpass solutions
smagpplt vis=340bp_lsb device=1/xs yaxis=a,p \
options=bandpass \
polyfit=4 nxy=2,3
$<
smagpplt vis=340bp_usb device=1/xs yaxis=a,p \
options=bandpass \
polyfit=4 nxy=2,3
4. Transfer the bandpass solutions across sidebands (lsb to usb)
smagpplt vis=340bp_lsb,340bp_usb \
options=xpass
5. Copy over the bandpass to the target file
gpcopy vis=340bp_usb out=vis_rx1.usb.tsys6. Apply the bandpass
uvaver vis=vis_rx1.usb.tsys out=vis_rx1.usb.tsys.bp