发表机构
Dr. Remeis-Sternwarte and ECAP, Friedrich-Alexander-Universität Erlangen-Nürnberg(德雷米斯天文台与极端条件物理与应用中心,埃尔朗根-纽伦堡大学)
机构由 AI 辅助整理,请以论文原文为准。AI 中文总结
本文介绍SIXTE模拟器从C到C++的重构,采用模块化设计以提升可维护性,并总结重构一年后对维护和新功能开发的积极影响。
AI 中文摘要
SIXTE(X射线望远镜模拟)软件是一个通用的端到端X射线观测模拟工具包,覆盖从源光子生成到探测器读出以及高层输出文件产生的完整观测过程。它是现有和未来X射线任务(如eROSITA、NewAthena、THESEUS和AXIS)的官方模拟器。最初设计为eROSITA的模拟器,多年来新增仪器和望远镜类型使得原始代码库越来越难以维护。因此,我们重构了代码,将语言从C改为C++,并转向更模块化的软件设计,以促进新模型的实现。本报告重点介绍了重构过程中使用的一些设计选择,以及重构代码库发布一年后对维护和新功能开发的影响。
英文摘要
The SIXTE (SImulation of X-ray TElescopes) software is a general end-to-end simulation toolkit for X-ray observations, covering the full observation process from source photon generation to detector readout and the production of high-level output files. It is the official simulator for existing and future X-ray missions, such as eROSITA, NewAthena, THESEUS and AXIS. Originally being designed as a simulator for eROSITA, the addition of new instrument and telescope types over several years has made the original code base increasingly difficult to maintain. As such, we have refactored the code, changing languages from C to C++ and switching to a more modular software design to facilitate the implementation of new models. This proceeding highlights some of the design choices used during the refactoring as well as its effects on maintenance and new feature development one year after release of the refactored code base.
Comments4 pages, 1 figure, proceedings of the ADASS XXXV (2025) conference, to appear in ASP Conference Series