Created
August 30, 2019 12:01
-
-
Save astrofrog/4c0b5218e191df076b873c2774f4863c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import cmap_kittens | |
| from astropy.io import fits | |
| import matplotlib.pyplot as plt | |
| data = fits.getdata('monalisa.fits')[0] | |
| plt.imshow(data, cmap='kittens', origin='lower') | |
| plt.colorbar() | |
| plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment