Find a common beam from a Beams object with 2 beams. This
function is based on the CASA implementation ia.commonbeam. Note that
the solution is only valid for 2 beams.
- Parameters:
- beams
Beams Beams object with 2 beams.
- Returns:
- common_beam
Beam The smallest common beam in the set of beams.