Search arXivSearch

arXiv · 2605.00651

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

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Changwoo Do. 2026-05-01. EQSANS-CLI: A natural-language, agent-ready command-line tool for small-angle neutron scattering data reduction at EQ-SANS. https://arxiv.org/abs/2605.00651

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

The Remote Analog to Digital Conversion DAQ System for the TRISTAN Detector Upgrade

The TRISTAN detector is an upgrade to the KATRIN experiment to enable a differential measurement of the tritium $β$-decay spectrum to search for sterile neutrinos with keV masses. This entails performing precision electron spectroscopy with over one thousand silicon drift detector pixels, each responsible for recording incident electron rates of $10^5$ counts per second. A project specific data acquisition (DAQ) system is developed to meet the experimental challenges through a remote analog to digital conversion (RADC) design. In this work, the conceptual design of the RADC DAQ is presented along with the built system for operating the TRISTAN detector upgrade. The system includes flexible signal processing logic and data management that is optimized for the high-rate precision measurement.

physics.ins-det

True Alternating Current Scanning Tunneling Microscope (ACSTM): tunneling on insulators

Scanning Tunneling Microscopy (STM) has revolutionized our atomic scale understanding of surfaces and accelerated progress in nanotechnology. This technique, however, is restricted to metal or semiconducting samples, as it requires a tiny current to stabilize the tip-sample distance with atomic scale precision. We developed a new imaging and feedback method that relies on true alternating current (AC) without any direct current (DC) component. This technique does not only enable the imaging on non-conducting surfaces with atomic step resolution, like (thin) glass and oxides, it provides also access to high-frequency electronic signal coming from the sample. We demonstrate that it is possible to measure on 25nm thick silicon oxide with 10 MHz tunneling current.

physics.ins-det

Charged-particle topology reconstruction with an in-liquid SiPM array

Liquid scintillator detectors instrumented with photosensors inside the scintillation volume preserve local optical information that is largely lost in conventional boundary-readout geometries. We demonstrate that this information is sufficient for charged-particle topology reconstruction using a sparse three-dimensional lattice of silicon photomultipliers. After validating the Geant4 detector response against measured photon-count distributions, a simulation-trained, time-informed convolutional neural network reconstructs the entry and exit points of through-going muons with median residuals of 1.91~cm and 2.39~cm, respectively. The reconstructed endpoints are geometrically consistent with acceptance regions defined by external trigger counters in cosmic-ray muon data. The same framework also reconstructs the production vertices of simulated positron starting-track events with a median residual of about 4.5~cm. These results establish the feasibility of topology-sensitive reconstruction using sparse in-liquid photosensor arrays in homogeneous liquid scintillator detectors.

physics.ins-det