Skip to content

Instantly share code, notes, and snippets.

@kaskichandrakant
Created November 27, 2018 08:55
Show Gist options
  • Save kaskichandrakant/9d25b9d0609f8fdbba867e3cf8608725 to your computer and use it in GitHub Desktop.
Save kaskichandrakant/9d25b9d0609f8fdbba867e3cf8608725 to your computer and use it in GitHub Desktop.
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