glimpse_m16
import aplpy
# Making a FITS cube with Montage. Data of different projections, field
# of view, and resolution will be modified to match one another for
# compositing.
aplpy.make_rgb_cube(['i4_small.fits','i3_small.fits','i2_small.fits'],'thecube.fits')
# Now that the data cube is created, we can make a color image from the data for plotting.
aplpy.make_rgb_image('thecube.fits','test.tif',stretch_r='linear',stretch_g='linear',stretch_b='arcsinh')
img = aplpy.FITSFigure('thecube_2d.fits')
img.show_rgb('test.tif',flip=True)
img.set_tick_labels_format(xformat='hh:mm',yformat='dd:mm')
img.show_grid()
img.set_grid_alpha(0.2)
img.set_tick_color('white')
img.set_tick_labels_style('latex')
img.set_labels_latex(True)
img.save('glimpse_m16.png')
Size:
640x576
1000x900
Full size:
1000x900