magmodel.py 文件源码

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

项目:muesr 作者: bonfus 项目源码 文件源码
def set_params(self, values):
            """
            Coverts the symbolic values into numerical values.
            The order of the parameters must be the same as the one given
            in the class instantiaion.

            :param list values: a list containing the values for the sympy symbols.            
            :return: None
            :rtype: None
            :raises: RuntimeError           
            """



            if self._symFClambda != None:
                self.fc_set( np.array(self._symFClambda(*values), \
                                      dtype=np.complex), \
                             self._inputType)
            else:
                raise RuntimeError("Symbolic FC not defined!")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号