Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 11c34fd6 authored by hartmann_m's avatar hartmann_m
Browse files

Update beamtheta.py

parent 7781aa71
No related branches found
No related tags found
No related merge requests found
......@@ -43,12 +43,17 @@ for angle in np.arange(0,360,1):
z += makeGaussian2(x0, y0, angle, std, std, framesize, framesize)
plt.plot(np.arange(0,2*framesize,1),norm(z[framesize,:]))
plt.plot(np.arange(0,2*framesize,1),norm(z[framesize,:]), color='blue', linestyle='--', linewidth=3, marker="o", markerfacecolor='red')
plt.ylim(bottom=0)
plt.xlabel('${x}$',size=11)
plt.ylabel('${y}$',size=11)
plt.show()
plt.imshow(z)
#plt.pcolor(x,y,z,cmap='seismic',vmin=-3,vmax=3,shading='auto')
plt.clim(0,100)
plt.colorbar()
plt.show()
#plt.imshow(z)
#plt.xlabel('${x}$',size=11)
#plt.ylabel('${y}$',size=11)
#plt.title('2D Gaussian beam distribution z(x,y)')
#plt.clim(0,100)
#plt.colorbar()
#plt.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment