deconvolve¶
- radio_beam.utils.deconvolve(beam, other, failure_returns_pointlike=False)[source]¶
Deconvolve a beam from another
- Parameters:
- beam
Beam The defined beam.
- other
Beam The beam to deconvolve from this beam
- failure_returns_pointlikebool
Option to return a pointlike beam (i.e., one with major=minor=0) if the second beam is larger than the first. Otherwise, a ValueError will be raised
- beam
- Returns:
- new_beam
Beam The convolved Beam
- new_beam
- Raises:
- failureValueError
If the second beam is larger than the first, the default behavior is to raise an exception. This can be overridden with failure_returns_pointlike