Exemplo n.º 1
0
 def power2_decreasing_exp(self, vals):
     """
     #TODO: Missing doc
     :param vals:
     :return:
     """
     return power2_decreasing_exp(vals,
                                  edges=[0.0, self.__dict__["max_csm"]],
                                  alpha=self.__dict__["alpha"])
Exemplo n.º 2
0
    def power2_decreasing_exp(self, vals):
        """Get the evaluation of the ratio function f(x)=exp(-a*x)*(x-1)^2.

        The CSM values (i.e. "x"), are scaled to the "max_csm" parameter. The "a" constant
        correspond to the "alpha" parameter.

        :param vals: CSM values for which the ratio function has to be evaluated.
        :return: Result of the ratio function applied to the CSM values.
        """
        return power2_decreasing_exp(vals, edges=[0.0, self.__dict__["max_csm"]], alpha=self.__dict__["alpha"])
Exemplo n.º 3
0
 def power2_decreasing_exp(self, vals):
     return power2_decreasing_exp(vals, edges=[0.0, self.__dict__['max']], alpha=self.__dict__['alpha'])
Exemplo n.º 4
0
 def power2_decreasing_exp(self, vals):
     return power2_decreasing_exp(vals,
                                  edges=[0.0, self.__dict__['max_csm']],
                                  alpha=self.__dict__['alpha'])
Exemplo n.º 5
0
 def power2_decreasing_exp(self, vals):
     return power2_decreasing_exp(
         vals, edges=[0.0, self.__dict__["max_csm"]], alpha=self.__dict__["alpha"]
     )