我已经安装了APLpy (版本0.9.12)和Python2.7。
我有一个名为"test.fits“的FITS图像。
我给出了以下命令:
import aplpy
fig = aplpy.FITSfigure("test.fits")然后我收到了这条消息:
AttributeError: 'module' object has no attribute 'FITSfigure'当我尝试以下操作时,我得到了同样的信息:
fig = aplpy.aplpy.FITSfigure("test.fits")我是python和APLpy的新手。
发布于 2014-09-29 17:00:19
你的台词是:
fig = aplpy.FITSfigure("test.fits")拼写错误,它必须是:
fig = aplpy.FITSFigure("test.fits")https://stackoverflow.com/questions/26095790
复制相似问题