velocity_scaler.py 文件源码

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

项目:pypiv 作者: jr7 项目源码 文件源码
def scale_field(self, f):
        """
        Scaling of the field according to calculated meshgrid.

        For the interpolation rectangular bivariate Splines are used.
        These are implemented from the scipy function `RectBivariateSpline <https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.RectBivariateSpline.html>`_.

        :param f: field to be interpolated
        :returns: field after interpolation
        """
        rbs = RBS(self._tx, self._ty, f)
        return rbs.ev(self._out_x, self._out_y)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号