run_analysis
Submits CODE V optical analyses—first-order, spot, MTF, wavefront, or native plots—and returns task status for polling.
Instructions
提交一阶参数、点列图、MTF、当前焦面 WAV 或原生绘图,返回任务状态。
MTF 必须由调用方给出频率网格;原生绘图用 options.plot_type 选择类型, 由 CODE V 自己绘制并导出为 PNG。WAV 只支持单变焦镜头的全部视场和波长, 固定 NRD=20,不改变焦面。点列图与原生绘图异步执行,需要轮询 get_analysis;一阶参数、MTF 和 WAV 同步完成。同一时刻只允许一个分析任务。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| error | No | ||
| state | Yes | ||
| source | Yes | ||
| task_id | Yes | ||
| progress | No | ||
| settings | No | ||
| warnings | No | ||
| created_at | Yes | ||
| raw_output | No | Verbatim backend output; truncated content is flagged in warnings. | |
| started_at | No | ||
| finished_at | No | ||
| history_only | No | True when the results belong to an earlier lens or lens revision, so they are kept as history rather than describing the lens that is open now. | |
| output_truncated | No |