In [1]:
%matplotlib inline
import aplpy
#Select a colortable
color_table='gist_heat_r'
Here we setup the contours levels that we will use for the Herschel 500um maps. The two options are because the data might be in Jy/beam or MJy/sr.
In [2]:
Her500_Jybm=[3.0]
Her500_MJysr=[80.0]
In [22]:
Data_File = 'Taurus_Herschel_500um.fits'
Region_File = 'Taurus_GAS_box.reg'
fig_Taurus = aplpy.FITSFigure(Data_File, hdu=1, north=True)
fig_Taurus.show_colorscale(cmap=color_table, vmin=0.0, vmax=70.0)
fig_Taurus.show_contour(Data_File, hdu=1, levels=Her500_MJysr, colors='white')
fig_Taurus.show_regions(Region_File)
fig_Taurus.ticks.set_color('black')
fig_Taurus.save('Taurus_region_Figure.pdf')
In [3]:
Data_File = 'Perseus_SPIRE_all_500mu.fits'
Region_File = 'Perseus_GAS_box.reg'
fig_Perseus = aplpy.FITSFigure(Data_File, hdu=1, north=True)
fig_Perseus.show_colorscale(cmap=color_table, vmin=0.0, vmax=2.625)
fig_Perseus.show_contour(Data_File, hdu=1, levels=Her500_Jybm, colors='white')
fig_Perseus.show_regions(Region_File)
fig_Perseus.ticks.set_color('black')
fig_Perseus.save('Perseus_region_Figure.pdf')
In [4]:
Data_File = 'Oph_main_SPIRE_500.fits'
Region_File = 'Oph_GAS_box.reg'
fig_Perseus = aplpy.FITSFigure(Data_File, hdu=1, north=True)
fig_Perseus.show_colorscale(cmap=color_table, vmin=12, vmax=25.625)
fig_Perseus.show_contour(Data_File, hdu=1, levels=Her500_Jybm, colors='white')
fig_Perseus.show_regions(Region_File)
fig_Perseus.ticks.set_color('black')
fig_Perseus.save('Oph_region_Figure.pdf')
In [ ]: