radio-astro-tools / radio-beam

A simple toolkit for reading and manipulating beams from astrophysical radio spectral data cubes.
https://radio-beam.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Easier to use common beam from 2 beams #97

Closed e-koch closed 3 years ago

e-koch commented 3 years ago

Finding the common beam to convolve 2 different cubes to is a common enough operation that we should have acommon_2beams(beam1, beam2) like syntax.

The current syntax is super clunky: common_beam = radio_beam.commonbeam.common_2beams(radio_beam.Beams(beams=[cube1vel.beam, cube2vel.beam]))

e-koch commented 3 years ago

Fixed in #102