Skip to content

Phase2_Validation

fujiaze edited this page Aug 10, 2026 · 1 revision

Phase2 Validation

1. 合成真值优先

真实马赛克不能作为绝对科学真值。

必须生成球面synthetic frames,已知:

  • true sky;
  • diffuse large-scale structure;
  • stars;
  • per-frame additive smooth gradients;
  • noise/SNR differences;
  • support edges;
  • missing coverage;
  • cosmic rays;
  • satellite/aircraft trails;
  • hot/cold residuals;
  • clouds/local offsets;
  • NaN/Inf;
  • varying overlap depth。

2. UPM Gate

No-gradient identity

输入没有额外gradient:

UPM校准不应改变科学signal

Known additive field

校准后的control/pixel residual相对true sky必须达到规定误差。

Low-SNR pull test

同一control:

high-SNR truth frame
low-SNR biased frame

SNR-aware model必须显著接近high-SNR truth; 等权模型作为反例基线。

Real structure preservation

注入:

  • 大尺度银河渐变;
  • IFN-like smooth field;
  • nebula;
  • large diffuse source。

这些共同sky结构不得被UPM误删。

Union / single coverage

control points覆盖整个union; 单覆盖边缘不允许产生无约束大漂移。

Disconnected components

正确分component并使用Phase1 photometric anchor。

3. Sparse vs Dense

对同一model:

sparse online
dense cache

校准随机至少100万sample:

FP32目标:

relative/absolute error ~1e-6 to 1e-5 scale

FP64目标:

~1e-12 to 1e-10 scale

最终门由实际数值范围确定。

4. Block invariance

同一synthetic stack分别:

1 MP
10 MP
37 MP
auto

最终最高order mosaic必须一致到precision gate。

输入frame顺序随机重排也必须一致。

5. Rejection Oracle

Sigma

Astropy sigma_clip.

Winsorized

Independent Python + SciPy primitive;Siril行为对照。

Averaged Sigma

IRAF公开AVSIGCLIP定义/参考。

Linear Fit

Siril external oracle。

ESD

NIST Rosner example + random Gaussian contamination。

RCR

Maples论文 + UNC官方实现,仅test Oracle。

6. Rejection synthetic matrix

样本深度:

N = 2,3,4,5,8,10,15,25,50,100,500

污染:

none
single high
single low
symmetric
20% outliers
50% outliers
satellite-like repeated positive
cloud-like low-frequency bias

统计:

  • true positive rejection;
  • false rejection;
  • final bias;
  • final variance;
  • runtime;
  • fallback count。

7. Weight Gate

比较:

equal weight
SNR
SNR²
support×SNR²
capped SNR²
inverse variance

以synthetic truth决定正式默认,不凭经验。

核心门:

低SNR样本不得把高SNR样本的最终结果显著拉偏。

8. HiPS

复用Phase1已经冻结的AIO/HiPS标准链:

  • Hipsgen LINT/CHECK/CHECKFAST/CHECKDATASUM;
  • Browser via AIO;
  • MAPTILES布局不重新设计。

9. 真实数据

合成Gate全部通过后:

  1. 先用项目既有真实马赛克的小crop;
  2. 再做完整三片马赛克一次;
  3. 比较:
    • seams;
    • 大尺度结构保真;
    • 背景连续性;
    • star photometry continuity;
    • rejection artifacts;
    • resource/performance。

不得靠反复跑完整真实马赛克调参数。

Clone this wiki locally