encompass_beam_fwhm

sofia_redux.scan.utilities.utils.encompass_beam_fwhm(beam, fwhm)[source]

Encompass one beam by a given fwhm.

Parameters:
beambeams.gaussian_2d.Gaussian2D or Gaussian2D or None

The Gaussian beam to encompass.

fwhmfloat or units.Quantity

The full-width-half-max to encompass beam1 with.

Returns:
beams.gaussian_2d.Gaussian2D or Gaussian2D