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

Add an isfinite method #38

Closed keflavich closed 8 years ago

keflavich commented 8 years ago

Needed because sometimes CASA will create beams with major/minor = 0 or NaN

e-koch commented 8 years ago

Does this happen when a channel has been completely flagged?

keflavich commented 8 years ago

Maybe. It happens when a channel is blank (all NaNs), which probably happens if it is entirely flagged, but might happen for other inexplicable CASA reasons too