我试图获得使用Simbad
类从astroquery
所有帧坐标,就像它是在SIMBAD web page (基本数据部分)显示Astroquery SIMBAD:获取坐标对于所有帧
我有以下代码:
from astroquery.simbad import Simbad
def get():
Simbad.reset_votable_fields()
Simbad.remove_votable_fields('coordinates')
Simbad.add_votable_fields('ra(:;A;ICRS;J2000)', 'dec(:;D;ICRS;2000)')
Simbad.add_votable_fields('ra(:;A;FK5;J2000)', 'dec(:;D;FK5;2000)')
table = Simbad.query_object("Betelgeuse", wildcard=False)
,但我得到的错误:
KeyError: 'ra(:;A;FK5;J2000): field already present. Fields ra,dec,id,otype, and bibcodelist can only be specified once. To change their options, first remove the existing entry, then add a new one.'
一切我可以鳍d约操纵可投票字段中的文档,特别是协调是这样的:
有没有办法让发送一个查询SIMBAD所有帧的坐标?
非常感谢您的详细解答!不知道我实际上可以从一个框架转换为另一个框架与宇宙。 – Civa