UCBerkeleySETI / blimpy

Breakthrough Listen I/O Methods for Python

Home Page:https://blimpy.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

calc_n_coarse_chan (base_reader.py) should default to 1, not raise error

texadactyl opened this issue · comments

When errors are encountered,
let's convert those ValueError exceptions to warnings and return the number of coarse channels = 1.

Input from issue #201

@telegraphic
In the warning situation (cannot compute a number of coarse channels), the returned value will be 1. This has the effect of grouping all of the fine channels together as a single coarse channel.