Gallery glimpse_m16

Gallery

1. Tutorial 2. SAGE / LMC 3. glimpse_m16

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')

Date: 07/20/2009
Size:
Full size: 1000x900
first previous
glimpse_m16
first previous