04-spline_fitter.py 文件源码

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

项目:interactive_mpl_tutorial 作者: tacaswell 项目源码 文件源码
def cntr(self):
        '''returns a rough estimate of the circumference'''
        if self._cntr is None:
            new_pts = si.splev(np.linspace(0, 1, 1000), self.tck, ext=2)
            self._cntr = np.mean(new_pts, 1)
        return self._cntr
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号