Back to Explorer
Research PaperResearchia:202602.28020[Chemistry > Chemistry]

mrfmsim: a modular, extendable, and readable simulation platform for magnetic resonance force microscopy experiments

Peter Sun

Abstract

We present mrfmsim, an open-source package that facilitates the design, simulation, and signal validation of magnetic resonance force microscopy experiments. The mrfmsim package uses directed acyclic graphs (DAGs) to model experiments and employs a plugin system that enables adding custom experiments and functionalities. Unlike common DAG-powered workflow packages, mrfmsim allows flexible customization of experiments post-definition, such as optimized looping, without requiring rewriting the internal model. In this paper, we highlight the challenges of building simulation packages for experiments that undergo continuous development in a graduate research setting. We demonstrate how a one-off approach to experimental simulation yielded erroneous results, and how the modularity, extendibility, and readability of the new platform enabled correct results and a significantly accelerated development cycle.


Source: arXiv:2602.23337v1 - http://arxiv.org/abs/2602.23337v1 PDF: https://arxiv.org/pdf/2602.23337v1 Original Link: http://arxiv.org/abs/2602.23337v1

Submission:2/28/2026
Comments:0 comments
Subjects:Chemistry; Chemistry
Original Source:
View Original PDF
arXiv: This paper is hosted on arXiv, an open-access repository
Was this helpful?

Discussion (0)

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!