PyMsOfa: A Python']Python Package for the Standards of Fundamental Astronomy (SOFA) Service

被引:4
作者
Ji, Jianghui [1 ,2 ,3 ]
Tan, Dongjie [1 ,2 ]
Bao, Chunhui [1 ,2 ]
Huang, Xiumin [1 ,2 ]
Hu, Shoucun [1 ,2 ,3 ]
Dong, Yao [1 ]
Wang, Su [1 ,3 ]
机构
[1] Chinese Acad Sci, CAS Key Lab Planetary Sci, Purple Mt Observ, Nanjing 210023, Peoples R China
[2] Univ Sci & Technol China, Sch Astron & Space Sci, Hefei 230026, Peoples R China
[3] CAS Ctr Excellence Comparat Planetol, Hefei 230026, Peoples R China
基金
中国国家自然科学基金;
关键词
Astrometry and Celestial Mechanics; planets and satellites: detection; planets and satellites: terrestrial planets; CELESTIAL INTERMEDIATE POLE; IAU; 1976; SYSTEM; EPHEMERIS ORIGIN; WORKING-GROUP; PRECESSION; EXPRESSIONS; NUTATION; TRANSFORMATION; ASTROMETRY; CONSISTENT;
D O I
10.1088/1674-4527/ad0499
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
The Standards of Fundamental Astronomy (SOFA) is a service provided by the International Astronomical Union that offers algorithms and software for astronomical calculations, which was released in two versions for FORTRAN 77 and ANSI C, respectively. In this work, we implement the Python package PyMsOfa for SOFA service by three ways: (1) a Python wrapper package based on a foreign function library for Python (ctypes), (2) a Python wrapper package with the foreign function interface for Python calling C code (cffi) and (3) a Python package directly written in pure Python codes from SOFA subroutines. The package PyMsOfa has fully implemented 247 functions of the original SOFA routines released on 2023 October 11. In addition, PyMsOfa is also extensively examined, which is exactly consistent with those test examples given by the original SOFA. This Python package can be suitable to not only the astrometric detection of habitable planets from the Closeby Habitable Exoplanet Survey mission, but also for the frontier themes of black holes and dark matter related to astrometric calculations and other fields. The source codes are available via http://pypi.org/project/PyMsOfa/ and https://github.com/CHES2023/PyMsOfa.
引用
收藏
页数:6
相关论文
共 27 条
  • [1] AOKI S, 1983, ASTRON ASTROPHYS, V128, P263
  • [2] High precision methods for locating the celestial intermediate pole and origin
    Capitaine, N
    Wallace, PT
    [J]. ASTRONOMY & ASTROPHYSICS, 2006, 450 (02) : 855 - 872
  • [3] Capitaine N, 2000, ASTRON ASTROPHYS, V355, P398
  • [4] Expressions for IAU 2000 precession quantities
    Capitaine, N
    Wallace, PT
    Chapront, J
    [J]. ASTRONOMY & ASTROPHYSICS, 2003, 412 (02) : 567 - 586
  • [5] Expressions for the Celestial Intermediate Pole and Celestial Ephemeris Origin consistent with the IAU 2000A precession-nutation model
    Capitaine, N
    Chapront, J
    Lambert, S
    Wallace, PT
    [J]. ASTRONOMY & ASTROPHYSICS, 2003, 400 (03) : 1145 - 1154
  • [6] Crane R. K., 1976, Astrophysics. Part B: Radio Telescopes, P186
  • [7] A Sun-like star orbiting a black hole
    El-Badry, Kareem
    Rix, Hans-Walter
    Quataert, Eliot
    Howard, Andrew W.
    Isaacson, Howard
    Fuller, Jim
    Hawkins, Keith
    Breivik, Katelyn
    Wong, Kaze W. K.
    Rodriguez, Antonio C.
    Conroy, Charlie
    Shahaf, Sahar
    Mazeh, Tsevi
    Arenou, Frederic
    Burdge, Kevin B.
    Bashi, Dolev
    Faigler, Simchon
    Weisz, Daniel R.
    Seeburger, Rhys
    Monter, Silvia Almada
    Wojno, Jennifer
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2023, 518 (01) : 1057 - 1085
  • [8] FAIRHEAD L, 1990, ASTRON ASTROPHYS, V229, P240
  • [9] Green R., 1962, Spherical Astronomy
  • [10] CHES: A Space-borne Astrometric Mission for the Detection of Habitable Planets of the Nearby Solar-type Stars
    Ji, Jiang-Hui
    Li, Hai-Tao
    Zhang, Jun-Bo
    Fang, Liang
    Li, Dong
    Wang, Su
    Cao, Yang
    Deng, Lei
    Li, Bao-Quan
    Xian, Hao
    Gao, Xiao-Dong
    Zhang, Ang
    Li, Fei
    Liu, Jia-Cheng
    Qi, Zhao-Xiang
    Jin, Sheng
    Liu, Ya-Ning
    Chen, Guo
    Li, Ming-Tao
    Dong, Yao
    Zhu, Zi
    [J]. RESEARCH IN ASTRONOMY AND ASTROPHYSICS, 2022, 22 (07)