have average_beams raise an error if it encounters NaNs by default
have average_beams raise an error if it encounters NaNs by default

low-sky/spectral-cube,e-koch/spectral-cube,radio-astro-tools/spectral-cube,keflavich/spectral-cube,jzuhone/spectral-cube