def plot_summed_patterns_one_point(row,col):
# sum the diffrtaction patterns in one point
summed_point = 0
for j in range(0,nbr_rotations):
summed_point = summed_point + list_Merlin[j][row][col].toarray()
plt.figure()
plt.imshow(np.log10(summed_point), cmap = 'hot', interpolation = 'none')
plt.axis('off')
plt.colorbar()
plt.title('masked diffraction patterns sum of one position in %d scans'%nbr_rotations)
#plot_summed_patterns_one_point(8,49) #inser col and row you want to plot
# # anim TABORT
# im = plt.imshow(abs(objectFunc), animated=True, interpolation='none', extent=[0,6.837770297837617,0,6.825238081022181])
#
# ims.append([im])
# ani = animation.ArtistAnimation(fig, ims, interval=1500, blit=True,repeat_delay=2000)
# plt.show()
# plot diffraction patterns merlin + pilK100
load_data_plot3Dpeak.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录