arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.00651physics.ins-det
收藏

EQSANS-CLI:一种面向自然语言和智能体的命令行工具,用于EQ-SANS小角中子散射数据还原

EQSANS-CLI: A natural-language, agent-ready command-line tool for small-angle neutron scattering data reduction at EQ-SANS

Oak Ridge National Laboratory(橡树岭国家实验室)

Changwoo Do

AI总结:

本文提出EQSANS-CLI,一种命令行工具,通过统一的工作表和状态驱动的重还原模型,实现小角中子散射数据还原的自动化和可脚本化,支持自然语言指令和智能体交互。

摘要:

小角中子散射(SANS)数据在用户设施中的还原流程通常重复性高。首先,运行被分类并匹配到同一仪器配置下的透射、背景和空束参考。数据随后被还原,置于绝对尺度并跨配置拼接。尽管这些步骤各自已知,但它们的连接较弱,导致协调负担随运行和配置数量增加。本文描述了EQSANS-CLI,一种命令行工具,将此流程组织为一致、可脚本化且可由智能体处理的系统。设计基于四个原则:一个共享的命令处理层,所有输入路径都收敛于此;一个持久的工作表,保存每个还原决策作为可编辑的行;两个输入界面(交互式终端和无头JSON模式)编译到相同处理入口点;以及状态驱动的重还原模型,将参数变化视为首要事件。/autopilot命令通过IPTS编号在一次调用中链式连接完整流程,生成拼接的I(Q)曲线。Slack机器人演示了无头界面与单个技能文档加载到外部智能体系统提示中,足以从移动设备通过自然语言驱动完整还原。架构在智能体侧有意保持最小化:CLI是权威执行器,智能体的唯一任务是将人类意图翻译成稳定的合同中的命令。

英文摘要:

Small-angle neutron scattering (SANS) data reduction at user facilities follows a largely repetitive workflow. Runs are first classified in the catalog and matched to transmission, background, and empty-beam references within the same instrument configuration. The data are then reduced, placed on an absolute scale using a standard, and stitched across configurations. Although these steps are individually well understood, they remain weakly connected, producing a coordination burden that scales with the number of runs and configurations. This paper describes EQSANS-CLI, a command-line tool that organizes this workflow into a coherent, scriptable, and agent-addressable system. The design rests on four principles: a shared command-handler layer that all input paths converge on; a persistent \emph{working table} that holds every reduction decision as editable rows; two input surfaces (an interactive terminal and a headless JSON mode) that compile to the same handler entry point; and a status-driven re-reduction model that treats parameter changes as first-class events. An \texttt{/autopilot} command chains the full pipeline from the IPTS number to stitched $I(Q)$ curves in one invocation. A Slack bot demonstrates that the headless interface, together with a single skill document loaded into an external agent's system prompt, is sufficient to drive complete reductions by natural language from a mobile device. The architecture is intentionally minimal on the agent side: the CLI is the authoritative executor, and the agent's only job is to translate human intent into commands on a stable contract.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑