gegemu

读取fits文件后想要显示fits文件中的内容,主要的链接:http://www.astropy.org/astropy-tutorials/FITS-images.html

读取的fits中的数据:image_data

import matplotlib.pyplot as plt

plt.imshow(image_data, cmap=\'gray\')
plt.colorbar()
plt.show()

结果:

 

分类:

技术点:

相关文章: