示例#1
0
 def __test(order, alpha):
     np.random.seed(98765)
     dummy_input = np.random.rand(64)
     delay = np.zeros(order + 1)
     for x in dummy_input:
         pysptk.phidf(x, order, alpha, delay)
         assert np.all(np.isfinite(delay))
示例#2
0
 def __test(order, alpha):
     np.random.seed(98765)
     dummy_input = np.random.rand(64)
     delay = np.zeros(order + 1)
     for x in dummy_input:
         pysptk.phidf(x, order, alpha, delay)
         assert np.all(np.isfinite(delay))