Commit 47482366 authored by Reimar Leike's avatar Reimar Leike
Browse files

Add 'unnormalized' discriptor

parent d8c1c1bb
Pipeline #75273 passed with stages
in 34 minutes and 31 seconds
...@@ -62,13 +62,13 @@ if __name__ == '__main__': ...@@ -62,13 +62,13 @@ if __name__ == '__main__':
z = np.exp(-1*np_ham(xx, yy)) z = np.exp(-1*np_ham(xx, yy))
plt.plot(y, np.sum(z, axis=0)) plt.plot(y, np.sum(z, axis=0))
plt.xlabel('y') plt.xlabel('y')
plt.ylabel('pdf') plt.ylabel('unnormalized pdf')
plt.title('Marginal density') plt.title('Marginal density')
plt.pause(2.0) plt.pause(2.0)
plt.close() plt.close()
plt.plot(x*scale, np.sum(z, axis=1)) plt.plot(x*scale, np.sum(z, axis=1))
plt.xlabel('x') plt.xlabel('x')
plt.ylabel('pdf') plt.ylabel('unnormalized pdf')
plt.title('Marginal density') plt.title('Marginal density')
plt.pause(2.0) plt.pause(2.0)
plt.close() plt.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment