XspecSession#
- class jinwu.spectrum.XspecSession[source]#
Bases:
object一个轻量的 XSPEC 会话,提供 K 计算能力。 A lightweight XSPEC session that can compute K.
使用原则 | Usage - 每次计算前清空 AllData/AllModels,避免状态污染;
Clear AllData/AllModels to avoid state leakage between runs.
关闭 XSPEC 交互提示,确保无人值守运行; Disable prompting for non-interactive execution.
Methods Summary
compute_K(cfg)Methods Documentation