def prob_T(x,a):
gg=np.float128(g)
aa=np.float128(10**(-gg-2)*a)
- Tr=np.float128(300.)
+ Tr=np.float128(t_bath)
return np.exp( np.log(aa) + (gg-2)/2*np.log(x) - gg*x/(2*Tr) )
# return aa * ( x**((gg-2)/2) * np.exp( -gg*x/(2*Tr) ) )
#x,y= np.loadtxt('1L2Y_NH_GB000.stat',usecols=(0,11),skiprows=10000,unpack=True)
#x,y= np.loadtxt('1L2Y_B_GB000.stat',usecols=(0,10),skiprows=30,unpack=True)
g=int(sys.argv[1])
+t_bath=float(sys.argv[2])
with open('md.stat','r') as f:
for line in f:
pass
plt.ylabel('fraction of native side-chain concacts')
plt.plot(x1,nc,'.')
plt.savefig('md_fracn.png')
-
\ No newline at end of file
+