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

Beam as structure element #22

Closed e-koch closed 9 years ago

e-koch commented 9 years ago

Implements an EllipticalTophat2DKernel, allowing for the beam to be converted into a structure element for morphological operations. This required implementing an EllipticalDisk2D model as well.

e-koch commented 9 years ago

@keflavich - The tophat area should now match the gaussian. I'm going to do a bit more testing tomorrow though.

keflavich commented 9 years ago

@e-koch ok just ping me when you want it merged

e-koch commented 9 years ago

@keflavich - Good to merge!

e-koch commented 9 years ago

at0206_beam_kernels

e-koch commented 9 years ago

Example of a beam and the elliptical gaussian (image) with the elliptical tophat (contour).

keflavich commented 9 years ago

Octagonal ellipses are my favorite ellipses.