The Python Sky Model (PySM) is a Python package used by Cosmic Microwave Background (CMB) experiments to simulate maps, in HEALPix pixelization, of the various diffuse astrophysical components of Galactic emission relevant at CMB frequencies (i.e. dust, synchrotron, free-free and Anomalous Microwave Emission), as well as the CMB itself. These maps may be integrated over a given instrument bandpass and smoothed with a given instrument beam.
PySM 2, released in 2016, has become the de-facto standard for simulating Galactic emission, for example it is used by CMB-S4, Simons Observatory, LiteBird, PICO, CLASS, POLARBEAR and other CMB experiments, as shown by the 80+ citations of the PySM 2 publication. As the resolution of upcoming experiments increases, the PySM 2 software has started to show some limitations, the solution to these issues was to reimplement PySM from scratch focusing on these features: reimplement all the models with the numba Just-In-Time compiler for Python to reduce memory overhead and optimize performance; use MPI through mpi4py to coordinate execution of PySM 3 across multiple nodes and rely on libsharp, for distributed spherical harmonic transforms; employ the data utilities infrastructure provided by astropy to download the input templates and cache them when requested.
At this stage we strive to maintain full compatibility with PySM 2, therefore we implement the exact same astrophysical emission models with the same naming scheme. In the extensive test suite we compare the output of each PySM 3 model with the results obtained by PySM 2.
skysurvey: a pure python package to simulate the transient sky
Université Lyon 1, CNRS, IP2I Lyon(里昂第一大学);Institute of Astronomy and Kavli Institute for Cosmology(天体物理研究所与卡弗里宇宙学研究所);School of Physics and Astronomy, University of Southampton(南安普顿大学物理与天文学学院);The Oskar Klein Centre(奥斯卡·克莱因中心);School of Physics and Astronomy, University of Minnesota(明尼苏达大学物理与天文学学院);Department of Physics, Lancaster University(兰开斯特大学物理系);School of Physics and Astronomy, University of Birmingham(伯明翰大学物理与天文学学院);Université Clermont Auvergne, CNRS, LPCA(克莱蒙奥弗涅大学);Aix Marseille Univ, CNRS/IN2P3, CPPM(艾克斯-马赛大学);Institut fur Physik, Humboldt-Universität zu Berlin(柏林洪堡大学物理研究所)
BROOM: a python package for model-independent analysis of microwave astronomical data
International School for Advanced Studies (SISSA)(国际高等研究院);INFN Sezione di Trieste(意大利国家核物理研究所的里雅斯特分部);IFPU(伊尔利亚自由大学);Università di Trento, Dipartimento di Fisica(特伦托大学物理系)
A Python/CuPy Software Correlator for QUEST: Real-Time Performance and Initial Imaging
National Astronomical Observatories, Chinese Academy of Sciences(中国科学院国家天文台);University of Chinese Academy of Sciences(中国科学院大学);School of Arts and Sciences, Shanghai Dianji University(上海电机学院文理学院);College of Physics and Electronic Engineering, Qilu Normal University(齐鲁师范学院物理与电子工程学院)
SpecpolFlow: a new software package for spectropolarimetry using Python
Tartu Observatory, University of Tartu(塔尔图大学塔尔图天文台);Space Telescope Science Institute(太空望远镜科学研究所);Department of Physics and Astronomy, Bartol Research Institute, University of Delaware(特拉华大学巴托尔研究所物理与天文学系);Universidade Federal de Minas Gerais(米纳斯吉拉斯联邦大学);Department of Physics, California Lutheran University(加州路德大学物理系);LESIA, Observatoire de Paris, PSL University, CNRS, Sorbonne Université, Université Paris Cité(巴黎天文台LESIA实验室,PSL大学,法国国家科学研究中心,索邦大学,巴黎西岱大学)
SPAN: A cross-platform Python GUI software for optical and near-infrared spectral analysis
Universidad de Atacama(阿塔卡马大学);Instituto de Astronomía y Ciencias Planetarias, Universidad de Atacama(阿塔卡马大学天文与行星科学研究所);University of Naples Federico II(那不勒斯费德里科二世大学);Department of Physics, University of Naples Federico II(那不勒斯费德里科二世大学物理系);INAF – Osservatorio Astronomico d’Abruzzo(意大利国家天体物理研究所阿布鲁佐天文台);Instituto de Astrofísica de Canarias(加那利群岛天体物理学研究所);Universidad de La Laguna(拉古纳大学);Departamento de Astrofísica, Universidad de La Laguna(拉古纳大学天体物理学系)
在过去的几十年里,一些脉冲星定时实验的测量精度已经从~10 us提高到~10 ns,揭示了许多微妙的现象。如此高的精度要求仔细的数据处理和复杂的定时模型,以避免系统误差。为了实现这些目标,我们提出了PINT(PINT Is Not Tempo 3),这是一个高精度的Python脉冲星定时数据分析包,它托管在GitHub上,并在Python包索引(PyPI)上作为pint-pulsar提供。PINT经过了良好的测试、验证、面向对象和模块化,支持交互式数据分析,并为定时应用程序提供了可扩展和灵活的开发平台。它利用了调试良好的公共Python包(例如,NumPy和Astropy库)和现代软件开发方案(例如,版本控制和使用git和GitHub的高效开发)以及不断扩展的测试套件,以提高可靠性,准确性和可重复性。PINT的开发和实现没有参考、复制或转录来自其他传统脉冲星定时软件包的代码(例如,TEMPO和TEMPO 2),因此提供了一个强大的工具,用于交叉检查时序分析和模拟脉冲到达时间。在本文中,我们描述了设计,使用和验证的PINT,我们比较它和TEMPO和TEMPO 2之间的定时结果。
Extreme Scale Survey Simulation with Python Workflows
维拉C。Rubin Observatory Legacy Survey of Space and Time(LSST)将很快在多个光学波段对天空进行前所未有的广泛,快速和深入的调查。LSST的数据将在天文学和宇宙学中开辟一个新的发现空间,同时为解决当今的热点问题提供线索,例如暗能量的起源和暗物质的性质,同时产生的数据反过来又会提出新的问题。为了迎接即将到来的这一非凡数据集,相关科学团体必须能够开发出分析它所需的软件,现在可用的计算能力使我们能够生成合成数据集,这些数据集可以用作这种努力的现实训练场。这项工作提出了自己的挑战-需要生成非常大的夜空模拟,将模拟活动扩展到具有不同架构的多个计算中心的大量计算节点,并围绕内存要求和广泛变化的挂钟时间优化复杂的工作负载。我们在这里描述了一个大规模的工作流,它将Python代码融合在一起来引导工作流,Parsl管理工作流组件的大规模分布式执行,容器在多个站点上执行图像模拟活动。利用这些工具,我们开发了一个极端规模的计算框架,并使用它来模拟300平方度天空区域的五年观测。我们描述了我们的经验和教训,在开发这种工作流的能力,并强调如何的可扩展性和可移植性,我们的方法使我们能够有效地执行它高达4000个计算节点上的两台超级计算机。