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

IF 1.8 4区 物理与天体物理 Q3 ASTRONOMY & ASTROPHYSICS Research in Astronomy and Astrophysics Pub Date : 2023-10-18 DOI:10.1088/1674-4527/ad0499
Jianghui Ji, Dongjie Tan, Chunhui Bao, Xiumin Huang, Shoucun HU, Yao Dong, Su Wang
{"title":"PyMsOfa: A Python Package for the Standards of Fundamental Astronomy (SOFA) Service","authors":"Jianghui Ji, Dongjie Tan, Chunhui Bao, Xiumin Huang, Shoucun HU, Yao Dong, Su Wang","doi":"10.1088/1674-4527/ad0499","DOIUrl":null,"url":null,"abstract":"Abstract The Standards of Fundamental Astronomy (SOFA) is a service provided by the International Astronomical Union (IAU) that offers algorithms and software for astronomical calculations, which was released in two versions by FORTRAN 77 and ANSI C, respectively. \\textbf{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. 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 of the Closeby Habitable Exoplanet Survey (CHES) mission \\citep{ji2022ches}, but also for the frontiers themes of black holes and dark matter related to astrometric calculations and other fields. The source codes are available via https://github.com/CHES2023/PyMsOfa.","PeriodicalId":54494,"journal":{"name":"Research in Astronomy and Astrophysics","volume":"30 1","pages":"0"},"PeriodicalIF":1.8000,"publicationDate":"2023-10-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Research in Astronomy and Astrophysics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1088/1674-4527/ad0499","RegionNum":4,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0

Abstract

Abstract The Standards of Fundamental Astronomy (SOFA) is a service provided by the International Astronomical Union (IAU) that offers algorithms and software for astronomical calculations, which was released in two versions by FORTRAN 77 and ANSI C, respectively. \textbf{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. 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 of the Closeby Habitable Exoplanet Survey (CHES) mission \citep{ji2022ches}, but also for the frontiers themes of black holes and dark matter related to astrometric calculations and other fields. The source codes are available via https://github.com/CHES2023/PyMsOfa.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基础天文学标准(SOFA)服务的Python包
基础天文学标准(SOFA)是国际天文学联合会(IAU)提供的天文计算算法和软件服务,分别以FORTRAN 77和ANSI C语言发布了两个版本。\textbf{在这项工作中,我们通过三种方式实现了用于SOFA服务的python包PyMsOfa:(1)基于python外部函数库的python包装器包(ctypes),(2)带有python调用C代码的外部函数接口的python包装器包(cffi),以及(3)直接用来自SOFA子程序的纯python代码编写的python包。}包PyMsOfa完全实现了原始SOFA例程的247个功能。此外,还对PyMsOfa进行了广泛的检查,这与原SOFA给出的测试示例完全一致。该python包不仅可以适用于近距离宜居系外行星调查(CHES)任务(\citep{ji2022ches})中可居住行星的天体测量探测,还可以适用于与天体测量计算相关的黑洞和暗物质等前沿主题。源代码可通过https://github.com/CHES2023/PyMsOfa获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Research in Astronomy and Astrophysics
Research in Astronomy and Astrophysics 地学天文-天文与天体物理
CiteScore
3.20
自引率
16.70%
发文量
2599
审稿时长
6.0 months
期刊介绍: Research in Astronomy and Astrophysics (RAA) is an international journal publishing original research papers and reviews across all branches of astronomy and astrophysics, with a particular interest in the following topics: -large-scale structure of universe formation and evolution of galaxies- high-energy and cataclysmic processes in astrophysics- formation and evolution of stars- astrogeodynamics- solar magnetic activity and heliogeospace environments- dynamics of celestial bodies in the solar system and artificial bodies- space observation and exploration- new astronomical techniques and methods
期刊最新文献
Comparison of NH3 and 12CO, 13CO, C18O Molecular Lines in the Aquila Rift Cloud Complex SFNet: Stellar Feature Network with CWT for Stellar Spectra Recognition A Study of the Comets with Large Perihelion Distances C/2019 L3 (ATLAS) and C/2019 O3 (Palomar) Understanding the Impact of H2 Diffusion Energy on the Formation Efficiency of H2 on the Interstellar Dust Grain Surface Leveraging the Empirical Wavelet Transform in Combination with Convolutional LSTM Neural Networks to Enhance the Accuracy of Polar Motion Prediction
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1