aplpy

    3熱度

    1回答

    有什麼辦法讓多槽aplpy圖動態共享座標軸,以便當一個被移動或縮放時,它移動和縮放其他的? 我能達到影響使用matplotlib pyplot的imshow和次要情節套路,但使用這些限制我繪製的一些其他重要方面,而aplpy提供了所有我需要爲我的圖片的工具。 我已經使用matplotlib CID命令和功能回到中心根據點擊位置的所有圖像試過,但我只能放大,或縮小,而不是兩個,我不能點擊並拖動尚。

    0熱度

    1回答

    我已經安裝了APLpy(版本0.9.12)&我有python 2.7。 我有一個名爲「test.fits」的FITS圖片。 我給下面的命令: import aplpy fig = aplpy.FITSfigure("test.fits") 然後我得到這個消息: AttributeError: 'module' object has no attribute 'FITSfigure' 我得

    2熱度

    1回答

    我試圖寫一個彩條標題中APLpy,但每次我這樣做,我得到以下錯誤: AttributeError:'Colorbar' object has no attribute 'set_axis_label_text' 的代碼我「使用M是以下幾點: import aplpy import matplotlib.pyplot as plt fig = plt.figure() f1 = aplpy

    2熱度

    1回答

    有誰知道如何將座標值更改爲APLpy中適合文件圖像的像素值?

    1熱度

    1回答

    我想繪製擬合與aplpy文件適合圖像與aplpy但我得到以下錯誤: INFO: The WCS transformation has more axes (3) than the image it is associated with (2) [astropy.wcs.wcs] ERROR: IndexError: list index out of range [aplpy.wcs_util]

    0熱度

    1回答

    我有一套RGB圖像和我作了RGB適合圖像與aplpy和我也覆蓋圖像上的一些輪廓,但我想剪切圖像,使小圖像適合圖像我會看到輪廓的峯值。 import aplpy import atpy from pyavm import AVM import asciitable import matplotlib import matplotlib.pyplot as plt from matplot

    2熱度

    1回答

    我需要製作輪廓圖並覆蓋圖像上的輪廓。我用aplpy庫來覆蓋天文圖像上的輪廓。 我已經下載在APlpy網站(https://github.com/aplpy/aplpy-examples/tree/master/data)的2MASS數據和寫了下面的代碼: import numpy as np import aplpy import atpy from pyavm import AVM im

    -1熱度

    1回答

    所以我嘗試使用APLpy密謀配合圖像(相同適合圖像)與由DS9區域文件提供了一些註解: 我的腳本如下: import aplpy import matplotlib import matplotlib.pyplot as pyplot import matplotlib.gridspec as gridspec from astropy.io import fits matplot

    0熱度

    1回答

    在正常的matplotlib軸類中,可以將網格線設置爲具有特定的透明度(alpha級別)。我試圖用以下的APLpy包來利用此: fig = pyplot.figure(figsize=(18,8)) gridspec_layout = gridspec.GridSpec(1,2) gridspec_layout1 = gridspec.GridSpecFromSubplotSpec(3,

    0熱度

    2回答

    我想繪製連接FITS圖上兩點的線段。 (200,250)&(300,400)。這些點的座標(x,y)是(200,250)&(300,400)。 我正在爲此使用APLpy。 我的代碼是: import matplotlib.pyplot as plt import aplpy import numpy as np fig = aplpy.FITSFigure('test.fits') fi