画出k的形状
def Plot_k(self,tau = 1):
s = np.random.random(500)* 10
value = s / self.tau * np.exp(1 - s / self.tau)
plt.scatter(s,value,c='r',alpha=0.3,marker = '*')
plt.show()
def Plot_kk(self,tau = 1, tau_s = 0.25):
s = np.random.random(500)*10
value = (np.exp(-(s) / self.tau) - np.exp(-(s) / self.tau_s))
plt.scatter(s,value,c='g',alpha=0.3,marker = '*')
plt.show()