Created
November 27, 2018 08:55
-
-
Save kaskichandrakant/9d25b9d0609f8fdbba867e3cf8608725 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from astropy.io import fits | |
import sys | |
import matplotlib.pyplot as plt | |
data = fits.open(str(sys.argv[1]))[0].data | |
plt.imshow(data[0][0]) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment