otf.py 文件源码

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

项目:prysm 作者: brandondube 项目源码 文件源码
def _make_interp_function(self):
        '''Generates an interpolation function for this instance of MTF, used to
            procure MTF at exact frequencies.`

        Args:
            none

        Returns:
            :class:`MTF`, this instance of an MTF object.

        '''
        if not hasattr(self, 'interpf'):
            self.interpf = interpolate.RegularGridInterpolator((self.unit_x, self.unit_y), self.data)

        return self
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号