Recent content by dcc
-
D
How can you visualize ALMA image data using the Viridis colormap?
image_data = fits.getdata(alma_image, ext=0) plt.figure() plt.imshow(image_data, cmap='viridis', vmin=-4, vmax=4) plt.xlim(540,640) plt.ylim(540,640) plt.colorbar(extend='both') plt.clim(0, 1) plt.show()- dcc
- Thread
- Astronomy Data Image Python
- Replies: 1
- Forum: Advanced Physics Homework Help