encompass_beam

sofia_redux.scan.utilities.utils.encompass_beam(beam1, beam2)[source]

Encompass one beam by another.

Parameters:
beam1beams.gaussian_2d.Gaussian2D or Gaussian2D

The Gaussian beam to encompass.

beam2beams.gaussian_2d.Gaussian2D or Gaussian2D

The Gaussian beam to encompass beam1 with.

Returns:
beambeams.gaussian_2d.Gaussian2D or Gaussian2D