Runs and fitting
- Select the instrument and year, then enter one or more runs.
- Choose the fit type and add the theory components you need.
- Use Fit to generate and fit the MSR, or Plot to inspect the spectra with musrview.
When an independent series fit (two or more runs, no shared parameters) is eligible, the Fit options row adds an action chip per run. Click a chip to cycle it: reuse keeps the existing fit, refit rebuilds the MSR from the live GUI parameters, and skip leaves the run untouched. The All dropdown sets every chip at once from Reuse all, Refit all, or Skip all.
Plot, FFT and RRF settings are available from their compact option tickets. Plot options include independent time and Y-axis ranges; leaving a pair empty selects automatic limits. In Electron, machine-specific paths, output suffixes and automatic initial-parameter guessing are under File → Preferences.
Parameters and parameter plots
Edit value, step and limits directly in the table. Once populated, the table is the source of the starting values used for fitting.
In a multi-run fit the table also has a Shared column: tick a parameter to keep a single shared starting value, step and limits for all runs instead of a separate per-run copy. Sharing any parameter takes the fit out of the independent-series route, so per-run refit/skip control is hidden; the parameter plot still works.
Click a parameter name to select or deselect it. Ctrl/Cmd-click adds individual parameters and Shift-click selects a range. Then choose Plot parameters... and select the common X axis.
In the parameter-plot window, Refresh rereads the current result file, Data... changes the data set for the active panel, and Plot options controls panel layout, X axis, style and displayed parameters. Click a panel before changing its panel-specific settings.
Constraints
Use this tab to add fit functions and parameter constraints that are not represented by the main theory controls. Define any custom values first in Custom parameters, then express the dependency under Constraints. Changes are included the next time the MSR is generated.
Example: couple the magnetic field to the Larmor frequency. Add a custom parameter named Bfield in Custom parameters. Then under Constraints, choose Frq from the Parameter dropdown, type gamma_mu * Bfield into the Function field, and press Add.
t0 / background
Use these expert controls when detector timing or background handling needs to differ from the normal defaults. Leave them unchanged for standard fits.
MSR Editor
The editor can be used as a full MSR editor. GUI → MSR replaces the visible MSR with a fresh document built from the current analysis settings, so the GUI is the source of the text.
Editing the text by hand makes the MSR authoritative: it is now the source of truth, and the lock icon changes to a closed padlock to show that the editor owns the document. While locked, Fit and Plot use this text as-is and GUI changes do not silently replace it. Choose MSR → GUI to copy recognized settings back into the GUI fields; this does not surrender ownership. Click the closed lock icon to unlock and return control to the GUI (an open padlock means the GUI owns it, and the next GUI generation or fit may replace the document).
In Electron, use the File menu to open and save MSR files directly.
Results and diagnostics
The Results tab keeps generated files, fit statistics and the full command log. The status bar provides the short state; click its state or message to open the run log immediately. Hover over shortened values to see them in full.
About muSRFlow
muSRFlow __MUSRFLOW_VERSION__ is a desktop and web workflow for musrfit.
Author: Zaher Salman. Copyright (C) 2026 Zaher Salman. GNU GPL version 3 or later.