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

Beams minor attribute is set to major attribute when passing list of Beam objects #80

Closed marxide closed 4 years ago

marxide commented 4 years ago

When passing in a list of Beam objects to initialize a Beams object, the minor attribute is set to the major attribute. This doesn't appear to be caught by any test so I've added the asymmetrical beams in the appropriate test function.

keflavich commented 4 years ago

Thanks, that's a flagrant copy & paste error. Good catch.