原始 EVENTS
历史 2.1.filter 的 MOS1 ori event,SHA-256 已核对。抽取 raw 1-s broad rate。
Isolated method audit · 2026-09-03
从 event 到 trial GTI、Al/Si 子谱拟合、四次多项式交点的逐步拆解。目标是回答:为什么 Al-line scan 看起来不连续?
2.1qdp51 时间估计器:1-s rate 经居中 51-s smoothing 后参与筛选。它不是历史 2.1.filter 的替代品;也没有抽取 3B/4.background 谱、response 或作 SP 物理判定。
Al 线的计数质量不是主导问题。 first scan 的 full spectrum 有 21,313 个 1–2 keV 计数,拟合 χ2/dof=152.7/141=1.08;在交点附近的 low/high 子谱仍有 3,993/17,320 个计数,分别为 1.37 与 1.00。second scan 的 full/low/high 也分别为 8,862/4,022/4,840 个计数。
台阶来自 sample construction。 每个 trial centre rate 都把一个有限宽度的 rate window 往右平移,low subset 不是前一个 subset 的嵌套扩展,而是同时加入一批时间、丢掉另一批时间。于是每次拟合都在不同的一组时间段、不同 exposure、不同 grouping 上进行;“line area 随 rate 连续变化”的前提并不存在。
下面是实际执行的 QDP51 分支。除时间估计器外,它保留 current 2.1 的 broad detector PI=0.2–10 keV 定义、两轮 scan、Poisson σ 公式、零 rate 邻居剔除和 BTI guard。
历史 2.1.filter 的 MOS1 ori event,SHA-256 已核对。抽取 raw 1-s broad rate。
每个 1-s 时刻的决策 rate 来自局部 51-s 窗口;相邻样本共享 50/51 秒,不能视为独立测量。
对每个 m,以 m ± 0.8√(m/51) 构造 low/high GTI。先扫描全时段,再以 first-pass GTI 内的子集作第二轮。
每个 trial 的 low/high 子谱独立按 ≥100 counts、≥6 PI channel 分组,拟合 continuum + Al + Si;该轮的 line centroid/width 固定自 full spectrum。
剔除 NaN/MAD outlier 后,分别对 low/high Al area 作 4 次多项式;选择在 scan range 内、最靠近 histogram peak 的根。
上排是每一个 trial 真正得到的 Al area 与误差棒;淡色点是 raw scan,实色点是经过 outlier filtering 后进入 quartic 的点。下排并非拟合结果,而是同一 trial 如何重组 subset:蓝/红是 low/high exposure,棕色是相较前一个 trial 改变归属的 1-s decision bins。
high exposure / low exposure ≤ 6;实际 ratio 跨 2.20–99.19。没有看到“拟合完全失败”的证据。每列分别是 full、low、high;每个上图给出 data、总模型、continuum、Al 与 Si 分量,下图保留归一化残差和纵向误差棒。请注意:这是 filter 内部的 detector-space screening model,不是 response-folded 的天体谱拟合。
| stage / subset | 1–2 keV counts | grouped bins | χ²/dof | Al area (count/s) |
|---|---|---|---|---|
| first / full | 21,313 | 149 | 152.7 / 141 = 1.08 | 0.2063 ± 0.0038 |
| first / low | 3,993 | 39 | 48.0 / 35 = 1.37 | 0.2012 ± 0.0059 |
| first / high | 17,320 | 135 | 131.1 / 131 = 1.00 | 0.2079 ± 0.0043 |
| second / full | 8,862 | 71 | 81.2 / 63 = 1.29 | 0.2001 ± 0.0041 |
| second / low | 4,022 | 39 | 53.2 / 35 = 1.52 | 0.2026 ± 0.0058 |
| second / high | 4,840 | 46 | 47.5 / 42 = 1.13 | 0.1982 ± 0.0053 |
| 来源 | 本例证据 | 对 crossing 的含义 |
|---|---|---|
| 选择集合跳变 | sliding finite window 使 low/high GTI 非嵌套;每一步最多替换 1,820 个 decision bins,且 GTI 被分割为数百段。 | Al area 是不同时间 mixture 的统计量,不应预设为连续函数。 |
| 每次重新分组与共同拟合 | low/high 每个 trial 都独立 grouping,continuum 与两个 line area 同时自由;同一 line 的 area 会与 continuum slope、Si 线相关。 | 误差棒反映单次固定 subset fit,不包含 subset-selection 或 crossing 的系统不确定性。 |
| 后处理插值 | first 仅 14 个点、second 仅 66 个点进入 degree-4 polynomial;根从两条拟合曲线的差得到。 | 输出一个数值 crossing 不等于测得了一个有不确定度的物理 transition。 |
当前代码在 np.polyfit 前设 w = 1 / area_err**2。但 np.polyfit 的 w 直接乘在未平方的 residual 上;对 Gaussian error,官方约定应传入 w = 1 / sigma。所以目前较小误差点在目标函数中会被按 1/σ⁴ 而非 1/σ² 强调,进一步使 quartic crossing 对少数点敏感。NumPy 文档
这不是本页悄悄修改的策略。 本页只暴露它;下一步应把这项权重修正和 “固定 grouping / bootstrap crossing / nested cumulative split” 分成独立的对照实验,而不是与 GTI policy 一起改动。
页面中的数字均来自同一诊断重跑:event SHA-256 b3851726…e3bfc9,ESPFILT SHA-256 3aad44d2…97ddd。没有写入新的 GTI、clean event 或背景谱。