Skip to content
Snippets Groups Projects
Commit 47482366 authored by Reimar Leike's avatar Reimar Leike
Browse files

Add 'unnormalized' discriptor

parent d8c1c1bb
No related branches found
No related tags found
1 merge request!468Visual demo
Pipeline #75273 passed
...@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment