diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index caa5ea5..4af28da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - name: Install package and test dependencies run: | python -m pip install --upgrade pip - python -m pip install -e ".[dev]" + python -m pip install -e ".[dev,analysis,pdf]" - name: Run Ruff run: python -m ruff check . diff --git a/README.md b/README.md index b3e3a8e..3efe13d 100644 --- a/README.md +++ b/README.md @@ -107,11 +107,12 @@ WaveBench 主包长期预装 RTM2000/RTM2032、DS1104Z/DS1000Z、DG4000/DG4202 - `run check --plan `:只解析并汇总 plan,不连接仪器 - `run verify --plan `:只读查询 plan 涉及仪器的高阻保护状态与 `*IDN?`,用于执行前预检可达性 -- `run template --list` / `run template --output `:列出或生成保守 run plan 模板;可用 `--frequency`、`--vpp`、`--source-channel` 等少量参数定制;不连接仪器,不覆盖已有文件,除非显式 `--force` -- `run plan --plan `:执行显式 source、power、scope、dmm、sleep 步骤;一次 run 内统一打开并复用所需仪器 session,成功或失败后统一关闭,不静默断线重连 -- `run report `:根据 `run.json` / `summary.csv` 生成静态离线 HTML 报告,包含信号分析指标、DMM 读数卡片、实验证据摘要、产物链接、证据时间线和截图 +- `run template --list` / `run template --output `:列出或生成保守 run plan 模板;可用 `--frequency`、`--frequencies`、`--reference-channel`、`--response-channel`、`--fit` 等少量参数定制;不连接仪器,不覆盖已有文件,除非显式 `--force` +- `run plan --plan `:执行显式 source、power、scope、dmm、sleep 和双通道 `sweep.frequency_response` 步骤;一个 run 可有多个具唯一 label 的频响,每个响应可扫描二维 Vpp × 频率、软件直通基线、可选自适应频率加密,并导出浮点/定点校准 LUT;一次 run 内统一打开并复用所需仪器 session,成功或失败后统一关闭,不静默断线重连 +- `run calibrate --config [--response