mrfmsim: a modular simulation platform for magnetic resonance force microscopy experiments
summary
An open-source simulation stack (MRFM Sim + MModel/MAuto) models MRFM experiments as a directed acyclic graph of callable nodes, adds post-definition modifiers to insert caching and optimized looping, and uses YAML+plugins for readable, shareable setups. It replaces fragile Jupyter Franken-scripts, runs ~1e6 grid points in ~1 minute on a laptop, reports up to ~24× speedups, and fixes a prior PNAS agreement error by adding time-dependent spin dynamics so simulations now match measured cantilever-frequency signals.
AI-written summary · about
chapters (9)
- 0:00Introduction to mrfmsim
- 2:30Motivation for new simulation platform
- 4:18How MRFM experiments work
- 10:05Challenges in MRFM simulation
- 14:55Designing modular simulation system
- 21:16mrfmsim backend and plugins
- 23:05Key features and benefits
- 24:30Correcting past simulation errors
- 24:54Future directions and Q&A
