def aplpy_simple(): import aplpy F = aplpy.FITSFigure(data.simple_3by3_hdu()) F.show_grayscale() hcr,ast,rep,mon = test_simple() F.show_contour(hcr,colors=[(1,0,0,0.5)],filled=True) F.show_contour(ast,colors=[(0,1,0,0.5)],filled=True) F.show_contour(rep,colors=[(0,0,1,0.5)],filled=True)
def test_simple(): hdu_in = data.simple_3by3_hdu() hdr_out = headers.header_radec2 return all_tools(hdu_in,hdr_out)