示例#1
0
 def _to_scipy_args(self, loc=None, scale=None, alpha=None, beta=None):
     return {
         "a": ifnone(alpha, self.alpha()),
         "b": ifnone(beta, self.beta()),
         "loc": ifnone(loc, self.loc()),
         "scale": ifnone(scale, self.scale()),
     }
示例#2
0
 def _to_scipy_args(self, loc=None, rate=None):
     if rate is not None:
         rate = 1 / rate
     return {
         "loc": ifnone(loc, self.loc()),
         "scale": ifnone(rate, 1 / self.rate())
     }
示例#3
0
 def _to_scipy_args(self, loc=None, scale=None, shape=None):
     if shape is not None:
         shape = -shape
     return {
         "c": ifnone(shape, -self.shape()),
         "loc": ifnone(loc, self.loc()),
         "scale": ifnone(scale, self.scale()),
     }
示例#4
0
 def _to_scipy_args(self, loc=None, scale=None, shape=None):
     return {
         "c": ifnone(shape, self.shape()),
         "loc": ifnone(loc, self.loc()),
         "scale": ifnone(scale, self.scale()),
     }
示例#5
0
 def _to_scipy_args(self, loc=None, scale=None):
     return {
         "s": ifnone(scale, self.scale()),
         "loc": ifnone(loc, self.loc())
     }