plots.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:core-framework 作者: RedhawkSDR 项目源码 文件源码
def _getSampleRate(self, sri):
        if sri.xdelta > 0.0:
            # Round sample rate to an integral value to account for the fact
            # that there is typically some rounding error in the xdelta value.
            return round(1.0 / sri.xdelta)
        else:
            # Bad SRI xdelta, use normalized value.
            return 1.0
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号