Key result
Open-source mrfmsim Python package provides a modular architecture for simulating magnetic resonance force microscopy experiments.
Why the study?
MRFM experiments are complex, requiring numerical simulation to design experiments and estimate sensitivity, but existing software designed for specific experiments can yield erroneous results.
Introduces an open-source Python package for designing, simulating, and analyzing magnetic resonance force microscopy experiments.
We present mrfmsim, an open-source Python package that facilitates the design, simulation, and analysis of magnetic resonance force microscopy (MRFM) experiments. MRFM is a scanning-probe technique that detects magnetic resonance from nanoscale ensembles of nuclear or electron spins with a force sensor. Because MRFM experiments are complex and operate at sensitivity limits, numerical simulation is essential for designing experiments and estimating per-spin sensitivity and imaging resolution from measured signals. In this paper, we highlight the challenges of developing MRFM simulations and show that software designed to simulate specific experiments only in a rapidly evolving experimental field can yield erroneous results. The mrfmsim package addresses these challenges by supporting post-definition customization without rewriting the internal model and by employing a plugin system for extending functionality. We show that the package's modular, extendable, and readable architecture improves reproducibility and accelerates development.
No takes yet. Share an insight, caveat, or question.
Sun et al. (2026) studied this question. mrfmsim Python package was evaluated. The mrfmsim open-source Python package provides a modular, extendable, and readable architecture for designing, simulating, and analyzing magnetic resonance force microscopy experiments.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: