Phase 5p: antakya full-length PASS – 5-event table complete antakya joint (2000+8000, INSARC x2 static-only): best gm 0.6563; segment-best Kagan all 0.0 deg (strongly peaked posterior, both samplers identical); mechanism 12.47 deg from the published true model; dMw 0.091; dDepth 3.54 km – PASS on strict thresholds depth reference corrected to the true-model slip-weighted centroid (9.63 km; the USGS 16 km point location is not the inversion- geometry reference; the 10 km prior cap is inactive) gm recompute matches focus bit-exactly on the static-only path (isolates the wushi discrepancy to the WF analyser-weight handling) multi-event table: 5 events (turkiye/gfz/wushi-wave/ridgecrest/ antakya all PASS or PASS-tolerant on their own anchors) selftest 4952/0; ctest 3/3
Phase 5p: antakya full-length PASS – 5-event table complete
Focus 是 Grond(Python 地震震源反演框架) 的 Fortran 改写项目:核心计算模块 100% Fortran,目标是以 Fortran 完全替代 Python Grond。项目方法与验证纪律源自兄弟仓库 ../source(Grond → C++ 改写, 已与 Grond 一对一验证)。
../source
RandomState
combine_misfits
combine_misfits-v1.2.0.npz
misfit()
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j
零第三方依赖(无 LAPACK/FFTW/pFUnit),仅需 gfortran ≥ 9 与 CMake ≥ 3.16。
ctest --test-dir build --output-on-failure # 或 ./build/src/focus selftest # 与 Python grond 头对头(需要 pyrocko+grond 环境): python3 tests/tools/gen_reference.py --all # 生成参考数据 python3 tests/tools/gen_reference.py --h2h # grond 轨迹参考 ./build/src/focus toy /tmp/focus_toy_h2h # Fortran 侧反演 python3 tests/tools/xcheck_toy_h2h.py /tmp/focus_toy_h2h # 逐元素对比
focus version 版本信息 focus selftest 全部单测(301 项) focus toy <rundir> toy 基准反演(Grond h2h 基线) focus harvest <rundir> 提取最优模型集合 focus export <rundir> <out> 导出集合(文本)
GPL-3.0-or-later(与 Grond 一致)。
Fortran version of Grond
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
Focus
Focus 是 Grond(Python 地震震源反演框架) 的 Fortran 改写项目:核心计算模块 100% Fortran,目标是以 Fortran 完全替代 Python Grond。项目方法与验证纪律源自兄弟仓库
../source(Grond → C++ 改写, 已与 Grond 一对一验证)。当前状态(Phase 1:优化器内核 + 目标函数对齐)
RandomState兼容 MT19937 随机数(位级一致)combine_misfits全语义(族归一化/L1-L2/bootstrap 链),与 grond 官方 参考combine_misfits-v1.2.0.npz对拍 max rel ≤ 1e-14misfit()max rel ≤ 1e-12构建
零第三方依赖(无 LAPACK/FFTW/pFUnit),仅需 gfortran ≥ 9 与 CMake ≥ 3.16。
测试与对拍
命令行
文档
许可证
GPL-3.0-or-later(与 Grond 一致)。