You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That image just has a lot nans at the edges. It looks okay though:
from astropy.io import fits
import matplotlib.pyplot as plt
data = fits.getdata('NGC_628_NA_MOM2_THINGS.FITS')
plt.imshow(np.squeeze(data), origin='lower', cmap='gray')
plt.show()
Hi,
I am using astropy 2.0.1, Python 2.7. When I try to get FITS data into array (fits file link) by
I get numpy array full of NaNs
Open as HDU list
return the same result. But SAOImage ds9 can successfully open and show data.
The text was updated successfully, but these errors were encountered: