In Miriad a model of gains to the visibility data can be described
as
where is a time variable complex number (or called antenna gain),
is the bandpass function,
is frequency and
is a time-varying delay term.
There are different approaches in solving for gains depending on the requirements by individual programs. In this Chapter, a general approach in the gain calibrations is given. In addition, strategies in calibrations for different science projects are being considered and are (will be) supported by the SMA software group.