Gallery SAGE / LMC

Gallery

1. Tutorial 2. SAGE / LMC 3. glimpse_m16

SAGE / LMC

import matplotlib
matplotlib.use('Agg')

import aplpy

# APLpy can handle very large mosaics by allowing a 'downsample' factor
# when initializing the instance of FITSFigure. The mosaic used in this
# example was over 200Mb, which would not work with matplotlib, unless it
# is downsampled first.

lmc = aplpy.FITSFigure('LMC_IRAC_8.0.fits',downsample=10)

lmc.show_colorscale(cmap='gist_heat',stretch='arcsinh')

lmc.recenter(79.4,-68.6,width=6.5,height=7.3)

lmc.show_grid()
lmc.set_grid_alpha(0.2)

lmc.set_tick_labels_format(xformat='hh:mm',yformat='dd:mm')

lmc.save('lmc.png')

Date: 07/19/2009
Size:
Full size: 1000x900
nextlast
first previous
SAGE / LMC
nextlast
first previous