capture
Record a fixed-length PPK2 current measurement, save samples to an npz file, and return statistics, an envelope overview, and the file path.
Instructions
定长采集(阻塞,≤60s):采样→落盘 npz→返回统计+包络+路径。
这是功耗分析的主入口。返回 stats(mean/min/max/charge/energy)、 envelope(~1000 点 min/max/mean 概览)、meta(含丢样数)与文件路径。 capture_id 仅限字母数字._-。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture_id | No | ||
| duration_s | No |