From 2ece146e19fc1d05f1bb6fca5af4262483ae3a28 Mon Sep 17 00:00:00 2001 From: salman Date: Sun, 11 Oct 2026 17:03:05 +0200 Subject: [PATCH] Run the bundled runtime inside WSL2 on Windows Windows has no native ROOT + musrfit, so the same Linux runtime tree built for the AppImage is reused inside a bundled WSL2 distribution. The renderer detects the win32 host plus the bundled runtime and routes every bundled tool through 'wsl.exe -d muSRFlow-runtime -- /opt/musrfit-runtime/bin/...', translating Windows path arguments (C:\dir\file) to their /mnt// form so inputs and outputs stay on the Windows side. Host and Windows-native tools (including a user-configured musrfit binaries directory) launch directly, and the translation is inert on Linux. The preload bridge now exposes process.platform so the host can be detected. Add packaging/wsl2/build-wsl2.sh, which installs the runtime's distro-level libraries, copies runtime/ to /opt/musrfit-runtime, and exports a rootfs tarball for the one-time 'wsl --import'. Note that dump_header ships with the musrfit package and both build recipes now verify the full tool set (musrfit, musrt0, musrview, msr2data, dump_header). Extend electron-bundled-runtime tests with WSL path/launch translation and dump_header resolution; update CHANGELOG, platforms.rst, and the READMEs (Sphinx HTML/PDF rebuilt). --- .gitignore | 3 + CHANGELOG.md | 7 ++ docs/_build/html/_sources/platforms.rst.txt | 6 ++ docs/_build/html/platforms.html | 5 + docs/_build/html/searchindex.js | 2 +- docs/_build/latex/muSRFlow.fdb_latexmk | 18 ++-- docs/_build/latex/muSRFlow.pdf | Bin 143671 -> 144199 bytes docs/_build/latex/muSRFlow.tex | 7 ++ docs/source/platforms.rst | 6 ++ muSRFitelec.js | 77 +++++++++++++-- packaging/runtime/README.md | 2 +- packaging/runtime/build-runtime.sh | 17 ++++ packaging/wsl2/README.md | 73 ++++++++++++++ packaging/wsl2/build-wsl2.sh | 103 ++++++++++++++++++++ preload.js | 1 + tests/electron-bundled-runtime.test.js | 60 +++++++++++- 16 files changed, 368 insertions(+), 19 deletions(-) create mode 100644 packaging/wsl2/README.md create mode 100755 packaging/wsl2/build-wsl2.sh diff --git a/.gitignore b/.gitignore index 7a04e3f..ba8b252 100644 --- a/.gitignore +++ b/.gitignore @@ -55,6 +55,9 @@ package-lock.json runtime/* !runtime/.gitkeep +# WSL2 rootfs build output (built by packaging/wsl2) +packaging/wsl2/out/ + # Generated local fit artifacts /*_asy.msr /*_asy.out diff --git a/CHANGELOG.md b/CHANGELOG.md index cf0e626..af98314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -84,6 +84,13 @@ release path documented in [`TODO.md`](TODO.md). `$ORIGIN`-relative paths, and bundles the non-system shared-library closure. The tree is git-ignored and shipped through the `extraResources` entry in `package.json`. +- On Windows the same Linux runtime is reused inside a bundled WSL2 + distribution: the renderer runs the bundled tools through + `wsl.exe -d muSRFlow-runtime -- /opt/musrfit-runtime/bin/...` and translates + Windows path arguments to their `/mnt//...` form, while host and + Windows-native tools (such as a user-configured **musrfit binaries** + directory) launch directly. `packaging/wsl2/build-wsl2.sh` exports the + matching rootfs tarball for the one-time `wsl --import`. ## 1.0.0-rc.4 (2026-09-23) diff --git a/docs/_build/html/_sources/platforms.rst.txt b/docs/_build/html/_sources/platforms.rst.txt index 743a9ae..fb0c860 100644 --- a/docs/_build/html/_sources/platforms.rst.txt +++ b/docs/_build/html/_sources/platforms.rst.txt @@ -47,6 +47,12 @@ precedence, and on builds without the bundle the system installation is used exactly as before. The runtime is built with ``packaging/runtime/build.sh`` (see ``packaging/runtime/README.md``). +On Windows the bundled runtime runs inside a WSL2 distribution that muSRFlow +ships: the tools are invoked through ``wsl.exe`` and file paths are translated +between the Windows and WSL forms, so inputs and outputs stay on the Windows +side. The rootfs is built with ``packaging/wsl2/build-wsl2.sh`` and imported +once per user (see ``packaging/wsl2/README.md``). + The workflow chapters of this manual apply to both editions. Where a step is specific to one edition (handling files, Preferences), the text says so explicitly. \ No newline at end of file diff --git a/docs/_build/html/platforms.html b/docs/_build/html/platforms.html index 54696c6..cd1cedd 100644 --- a/docs/_build/html/platforms.html +++ b/docs/_build/html/platforms.html @@ -146,6 +146,11 @@ tree; a directory set in Preferences / musrfit binaries still t precedence, and on builds without the bundle the system installation is used exactly as before. The runtime is built with packaging/runtime/build.sh (see packaging/runtime/README.md).

+

On Windows the bundled runtime runs inside a WSL2 distribution that muSRFlow +ships: the tools are invoked through wsl.exe and file paths are translated +between the Windows and WSL forms, so inputs and outputs stay on the Windows +side. The rootfs is built with packaging/wsl2/build-wsl2.sh and imported +once per user (see packaging/wsl2/README.md).

The workflow chapters of this manual apply to both editions. Where a step is specific to one edition (handling files, Preferences), the text says so explicitly.

diff --git a/docs/_build/html/searchindex.js b/docs/_build/html/searchindex.js index 06b1421..05de147 100644 --- a/docs/_build/html/searchindex.js +++ b/docs/_build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles":{"A first fit":[[7,"a-first-fit"]],"Bundled ROOT and musrfit":[[9,"bundled-root-and-musrfit"]],"Command log":[[11,"command-log"]],"Configuration sharing":[[0,null]],"Constraints":[[1,null],[1,"id1"]],"Contents":[[4,null]],"Custom parameters":[[1,"custom-parameters"]],"Desktop installation":[[2,"desktop-installation"]],"Editing trace styles":[[8,"editing-trace-styles"]],"Example: couple the magnetic field to the Larmor frequency":[[1,"example-couple-the-magnetic-field-to-the-larmor-frequency"]],"Execution details":[[11,"execution-details"]],"File handling":[[6,"file-handling"]],"Fit and Plot":[[12,"fit-and-plot"]],"Fit model":[[12,"fit-model"]],"Fit options":[[12,"fit-options"]],"Fit or plot will not start":[[14,"fit-or-plot-will-not-start"]],"Fit range":[[12,"fit-range"]],"Fitted parameters look wrong or unchanged":[[14,"fitted-parameters-look-wrong-or-unchanged"]],"General notes":[[5,"general-notes"]],"Getting started":[[2,null]],"Glossary":[[3,null]],"Keyboard shortcuts":[[5,null],[8,"keyboard-shortcuts"]],"MSR editor":[[5,"msr-editor"],[6,null]],"Multi-group asymmetry fits":[[13,"multi-group-asymmetry-fits"]],"Notes":[[0,"notes"]],"On the desktop":[[0,"on-the-desktop"]],"On the web":[[0,"on-the-web"]],"Opening the web edition":[[2,"opening-the-web-edition"]],"Outcome dialog":[[11,"outcome-dialog"]],"Overlay data sets (multiple files in one panel)":[[8,"overlay-data-sets-multiple-files-in-one-panel"]],"Overview":[[7,null]],"Ownership: GUI or editor":[[6,"ownership-gui-or-editor"]],"Parameter plot hangs on \u201cPreparing plot files\u201d":[[14,"parameter-plot-hangs-on-preparing-plot-files"]],"Parameter plot is empty or missing data":[[14,"parameter-plot-is-empty-or-missing-data"]],"Parameter selection (Parameters tab)":[[5,"parameter-selection-parameters-tab"]],"Parameter-plot window":[[5,"parameter-plot-window"]],"Parameters and parameter plots":[[8,null]],"Per-run statistics":[[12,"per-run-statistics"]],"Plot options":[[8,"plot-options"]],"Preferences":[[10,null]],"Prerequisites":[[2,"prerequisites"]],"Preview":[[1,"preview"]],"Remembered plot configurations":[[8,"remembered-plot-configurations"]],"Reporting problems":[[14,"reporting-problems"]],"Restored configuration differs from the original machine":[[14,"restored-configuration-differs-from-the-original-machine"]],"Result files":[[11,"result-files"]],"Results and diagnostics":[[11,null]],"Run log window":[[11,"run-log-window"]],"Run selection":[[12,"run-selection"]],"Running the desktop app":[[2,"running-the-desktop-app"]],"Runs and fitting":[[12,null]],"Selecting parameters for plotting":[[8,"selecting-parameters-for-plotting"]],"Series fit actions":[[12,"series-fit-actions"]],"Some links start with a different prefix":[[14,"some-links-start-with-a-different-prefix"]],"Support":[[2,"support"]],"Template and series presets":[[8,"template-and-series-presets"]],"The Choose X axis dialog":[[8,"the-choose-x-axis-dialog"]],"The Quick Start guide":[[2,"the-quick-start-guide"]],"The Shared column":[[8,"the-shared-column"]],"The parameter table":[[8,"the-parameter-table"]],"The parameter-plot window":[[8,"the-parameter-plot-window"]],"The status bar":[[11,"the-status-bar"]],"Troubleshooting":[[14,null]],"Two editions":[[7,"two-editions"]],"Under the hood":[[7,"under-the-hood"]],"View settings":[[12,"view-settings"]],"Web and desktop editions":[[9,null]],"Web page cannot load data":[[14,"web-page-cannot-load-data"]],"What is shared":[[0,"what-is-shared"]],"What you get":[[7,"what-you-get"]],"Workflow":[[6,"workflow"]],"muSRFlow User Manual":[[4,null]],"t0 / background":[[13,null]],"\u201cNothing to fit\u201d":[[14,"nothing-to-fit"]]},"docnames":["configuration-sharing","constraints","getting-started","glossary","index","keyboard-shortcuts","msr-editor","overview","parameters-plots","platforms","preferences","results-diagnostics","runs-fitting","t0-background","troubleshooting"],"envversion":{"sphinx":65,"sphinx.domains.c":3,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":9,"sphinx.domains.index":1,"sphinx.domains.javascript":3,"sphinx.domains.math":2,"sphinx.domains.python":4,"sphinx.domains.rst":2,"sphinx.domains.std":2},"filenames":["configuration-sharing.rst","constraints.rst","getting-started.rst","glossary.rst","index.rst","keyboard-shortcuts.rst","msr-editor.rst","overview.rst","parameters-plots.rst","platforms.rst","preferences.rst","results-diagnostics.rst","runs-fitting.rst","t0-background.rst","troubleshooting.rst"],"indexentries":{"addrun":[[3,"term-ADDRUN",true]],"configuration link":[[3,"term-configuration-link",true]],"dump_header":[[3,"term-dump_header",true]],"fft":[[3,"term-FFT",true]],"fit document":[[3,"term-fit-document",true]],"global parameter":[[3,"term-global-parameter",true]],"independent-series fit":[[3,"term-independent-series-fit",true]],"msr":[[3,"term-MSR",true]],"msr2data":[[3,"term-msr2data",true]],"musrfit":[[3,"term-musrfit",true]],"musrview":[[3,"term-musrview",true]],"par.dat":[[3,"term-par.dat",true]],"root plot":[[3,"term-ROOT-plot",true]],"rrf":[[3,"term-RRF",true]],"run":[[3,"term-RUN",true]]},"objects":{},"objnames":{},"objtypes":{},"terms":{"":[0,3,5,6,8,10,12,13,14],"0":12,"01":12,"012":11,"1":[8,10,11,12,13],"100":[8,12],"101":13,"103":13,"12":[8,12],"16":12,"1998":12,"2":[8,12,13],"21":12,"24":12,"25":12,"3":[8,12,13],"300":8,"4":[12,13],"5":12,"514":[3,12],"515":[3,12],"516":12,"520":12,"525":12,"540":12,"7":12,"8":12,"A":[0,1,3,4,8,10,11,12,13,14],"For":[2,6,8,11,12,13],"If":[0,4,8,11,12,14],"In":[5,7,8,14],"It":[0,1,4,6,7,11],"Its":[5,7],"On":[2,3,4,6,7,9,11,12,14],"One":[3,12],"The":[0,1,3,4,5,6,7,9,10,12,13,14],"Then":8,"There":2,"These":4,"To":[1,12],"With":[5,8],"_asi":10,"_par":[0,8],"_singlehist":10,"abov":[0,8],"abragamco":12,"accept":14,"access":9,"accumul":12,"across":[7,8,10,13],"action":[0,3,4,5,7,8,10,11,14],"activ":[2,5,6,7,8,14],"actor":6,"actual":[0,12,13],"ad":[8,10,12],"add":[1,5,8,11,12,14],"addit":8,"addrun":[3,12],"adjust":[7,8,13],"affect":8,"after":[0,8,12,14],"afterward":[8,11],"again":[7,8,12,14],"against":[8,14],"aggreg":[11,12],"agre":[13,14],"align":8,"all":[2,3,8,11,12,14],"alpha":[8,12],"alreadi":[2,8,12],"also":[0,2,6,8],"alwai":[8,12],"among":8,"amplitud":[8,12],"an":[0,1,2,3,4,6,7,8,10,11,12,13,14],"analysi":[0,3,6,7,11,14],"anchor":5,"ani":[1,6,7,8,9,11,12,13],"anoth":[0,3,7,8,14],"anyon":0,"anyth":[4,10],"apod":[3,12],"app":[0,4,10],"appear":[2,8,11],"append":[3,10],"appimag":[0,2],"appli":[0,1,3,5,8,9,12],"applic":[0,4,9],"approxim":10,"ar":[0,1,2,4,7,8,10,12,13,14],"area":[5,11],"argument":11,"arithmet":1,"around":4,"arrang":[0,8],"artifact":[6,9,10,11],"ask":[6,8],"assign":8,"asymmetri":[4,8,10,12],"attempt":[6,14],"authorit":[11,12,14],"auto":[8,10],"automat":[3,5,8,10,12],"auxiliari":9,"avail":[0,1,4,8,10,12],"avoid":[1,10],"awar":2,"ax":[5,8],"axi":[4,12,14],"b":8,"back":[6,8,12,13],"background":[4,7,8],"backward":[0,12],"bar":[0,2,4,5,7,8,12,14],"base":[0,8],"becom":[1,6,8,12],"been":5,"befor":[1,8,9,10,12,14],"behaviour":[4,11,12,13],"behind":[8,9],"below":[11,12],"bench":14,"besid":9,"best":[11,12],"between":[5,8,12],"beyond":8,"bfield":[1,8],"bg":[7,13],"bin":[12,13],"binari":[9,10],"bind":1,"blank":[10,12],"blob":8,"block":[1,3,8,11,12],"bold":8,"both":[1,3,4,7,8,9,13,14],"bottom":11,"box":[5,8],"browser":[0,2,3,4,7,8,9,14],"bug":2,"build":[0,2,4,8,9,10],"built":[4,6,8,9],"bulk":8,"bundl":[4,10],"button":[0,1,2,3,4,6,7,8,9,11,12],"byte":0,"c":[0,14],"cach":12,"calcul":12,"came":12,"can":[0,1,3,6,7,8,9,12],"cancel":10,"cannot":[0,4,8,11,12,13],"canon":0,"canva":[3,7,9,11,12],"canvas":3,"cap":[8,12],"carri":[0,3,8,9,12,14],"caveat":0,"cfg":14,"cgi":[2,4,9,14],"ch":[0,2,10,14],"chain":0,"chang":[1,6,8,10,12,14],"chapter":[2,7,9],"chart":5,"check":[8,14],"checkbox":8,"checkout":2,"chip":[3,8,12,14],"choic":[8,12],"choos":[0,1,2,4,7,10],"chosen":[8,12],"clash":10,"classic":[7,12],"clear":8,"click":[0,5,6,7,8,11,12,14],"client":0,"clipboard":5,"clone":8,"close":[5,6,8,10,11,14],"closest":8,"cmd":[5,8],"code":11,"collaps":[11,13],"colleagu":[0,8],"collect":[7,11],"collid":5,"colon":12,"colour":8,"column":[3,12,14],"combin":12,"come":9,"comma":12,"command":[3,4,7,9,10,12,14],"commit":8,"common":[8,13],"compact":[0,14],"companion":3,"compar":8,"compat":12,"complet":[0,6,11],"compon":[0,1,8,12,14],"compos":12,"compress":[0,3,14],"concentr":4,"concern":9,"concret":8,"configur":[3,4,7,9,10],"confirm":[6,8,12,14],"constant":[1,8],"constrain":1,"constraint":[0,3,4,6,7,8,12],"contact":[2,4,14],"contain":[1,8,9,11],"content":[8,12],"context":11,"contigu":[8,12],"contrast":12,"control":[1,6,7,8,13,14],"conveni":12,"convent":10,"converg":[11,12],"convert":7,"coordin":8,"copi":[0,6,8,9],"core":[10,12],"correct":[3,12],"correspond":2,"could":[0,14],"count":[8,12],"coupl":4,"covari":12,"cover":[4,14],"cpu":12,"creat":4,"cross":8,"ctrl":[5,8],"current":[0,2,3,6,7,8,10,12,13,14],"cursor":5,"curv":8,"custom":[4,7,8,12],"cycl":12,"dai":7,"damp":8,"dash":12,"dat":[0,3,7,8,11],"data":[0,2,3,4,7,9,10,11,12,13],"dc":12,"dedic":0,"default":[8,10,12,13],"defin":1,"degrad":8,"degre":12,"delet":8,"depend":[5,12],"deploi":14,"deploy":[0,2,4],"deriv":[8,10],"describ":[2,3,4,8,12],"deselect":[5,8],"desk":4,"desktop":[3,4,6,7,8,10,11,12,14],"desktop_deploy":[2,4],"detail":[4,7,12,14],"detect":10,"detector":[8,12,13],"develop":10,"diagnos":11,"diagnost":4,"dialog":[0,2,3,4,7,9,10,14],"did":[11,12],"differ":[0,4,7,9,12,13],"direct":[3,12],"directli":[0,1,6,7,8],"directori":[0,7,9,10,11,14],"disabl":12,"disagre":13,"disappear":[8,12],"disclosur":12,"disk":[0,6,12],"dismiss":8,"displai":[3,6,7,8,9,11,12],"dist":2,"distinct":[8,12,13],"do":[6,12,13,14],"doc":[2,4],"document":[0,2,3,4,5,6,7,10,11,12,13,14],"doe":[0,4,6,7,8,11,12],"dolli":12,"domain":[3,12],"dot":12,"download":[5,8,11],"drag":8,"draw":[0,8],"drawn":[3,7,8,9,12],"drive":8,"driven":5,"dropdown":[1,8,12,14],"dump_head":[3,4,7,10],"dynam":12,"e":[2,8,12],"each":[2,3,8,11,12],"edit":[3,4,5,6,10,12,13,14],"editor":[3,4,7,8,9,12,14],"effect":[10,13],"effici":12,"eight":8,"either":[0,12],"electron":[0,2,4,6,7,9,10],"element":11,"elig":12,"embed":[0,8],"empti":[4,8,10,12],"enabl":[8,10,12],"encod":[0,7],"end":[4,8,12],"endpoint":[9,14],"energi":8,"engin":[3,7,9],"enter":[2,5,6,7,12],"entri":[3,5,8],"equal":1,"equival":8,"eras":11,"error":[0,8,12],"esc":[5,8],"estim":10,"even":8,"event":5,"everi":[3,5,7,8,10,11,12,13,14],"everydai":5,"everyth":[1,12],"evolv":7,"exact":[8,12],"exactli":[1,8,9],"exampl":[4,8,10,11,12,13],"exce":12,"execut":[4,7],"exist":[0,8,10,12,13],"exit":11,"expand":[2,7,8,12],"expert":[7,13],"explain":11,"explicit":[8,10],"explicitli":9,"exponenti":12,"exponentialbessel":12,"exponentialco":12,"expos":[0,6,7,9,10,12,14],"express":[1,12],"extern":2,"extra":8,"factor":12,"factori":7,"fail":[11,12,14],"fast":3,"fastest":14,"featur":10,"fed":7,"feed":[7,8,11],"fetch":14,"few":5,"fft":[0,3,7,12],"field":[4,5,6,8,10,12,13],"file":[0,2,3,4,7,9,10,12,13],"final":[7,8],"finish":[11,14],"first":[0,2,4,6,8,10,12,14],"fit":[0,1,2,3,4,6,8,9,10,11],"fitparamet":[3,8],"fix":[8,9,12,13,14],"flame":12,"flip":12,"flow":12,"focu":5,"focus":[5,8],"follow":[8,12],"forc":10,"forget":8,"form":[3,12,14],"format":3,"forward":[12,13],"four":8,"fourier":[3,12],"fragment":[0,3],"frame":[3,12],"free":12,"frequenc":[3,4,8,10,12],"fresh":6,"freshli":12,"from":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],"frq":[1,8],"full":[5,7,8,11],"function":[1,3,12],"further":12,"g":[2,8,12],"gain":12,"gamma_mu":[1,8],"gauss":12,"gaussian":12,"gaussianbessel":12,"gaussianco":12,"gbgco":12,"gbgexp":12,"gbgsexp":12,"gbgzf":12,"gdktlf":12,"gener":[1,3,4,6,7,8,10,11,12,13],"get":[0,4,8],"gett0frompromptpeak":10,"give":11,"given":10,"glfexp":12,"glfsexp":12,"global":[3,8,12],"glossari":4,"good":13,"gp":12,"gpd":12,"gracefulli":8,"graphic":4,"grid":8,"group":[4,8,10,12],"grow":8,"guess":[3,7,8,10,13],"gui":[1,4,7,11,12,14],"guid":[4,7],"gyromagnet":1,"ha":[0,3,5,8,10,12,14],"hal":12,"hand":[0,5,6,8,11,12,14],"handl":[0,4,8,9],"hang":4,"happen":8,"harmlessli":0,"hash":0,"have":[8,12,13],"header":10,"health":14,"help":[4,9,14],"hess":12,"hide":[8,12],"highest":8,"highlight":[7,12],"hint":10,"hist":12,"histogram":[10,12,13],"hold":[5,8,10,12,13,14],"hood":4,"host":[2,13],"hover":11,"how":[0,7,12],"http":[0,2],"i":[1,2,3,4,5,6,7,8,9,10,11,12,13],"icon":[0,6],"ident":[0,8,12],"identifi":[8,12],"idl":11,"ignor":[0,5,12,14],"imaginari":12,"immedi":[0,1,8,11],"import":[8,13],"includ":[0,1,8,12,14],"inconsist":13,"independ":[2,3,8,9,11,12,14],"indic":8,"individu":[8,12],"inform":12,"initi":[3,7,8,10],"inlin":[0,8,12],"input":[3,5],"insid":[3,7,9,12],"inspect":[4,7,11],"instal":[0,4,9,10,12,14],"instanc":0,"instead":[0,1,8,10,11,14],"instrument":[0,2,7,10,12],"interact":[5,7,8],"interfac":7,"introduc":8,"invalid":11,"invok":11,"involv":14,"issu":2,"its":[0,2,3,7,8,9,10,11,12,13,14],"itself":8,"j":2,"join":3,"jsroot":[3,7,9,12],"just":[5,6,8],"k":8,"keep":[6,8,10,11,12,13],"kei":[0,5,8],"kept":[11,12],"kev":8,"keyboard":4,"khz":12,"kt":12,"kubo":12,"label":[8,12],"lack":14,"lai":8,"lam_2255":8,"larg":11,"larger":8,"larmor":4,"lasso":5,"last":11,"later":[2,11,13],"layout":8,"ld_library_path":9,"ldktlf":12,"le":8,"leak":8,"least":14,"leav":[8,10,12,13],"left":8,"legaci":[12,14],"legend":8,"lem":[10,12],"let":[0,8,10],"level":8,"lgkt":12,"lgktexp":12,"lgktsexp":12,"librari":9,"lifetim":12,"like":[1,13],"likelihood":12,"limit":[3,7,8,12],"line":[3,4,7,8,9,10,11,14],"linear":8,"lineshap":8,"link":[0,2,3,4,7,8,9,11],"linux":2,"list":[1,6,8,11,12,14],"liter":1,"live":[1,7,9,10,11,12],"llfexp":12,"llfsexp":12,"lmu":10,"load":[4,8,13],"local":[0,2,7,8,9,10,12,14],"locat":10,"lock":[6,14],"log":[4,7,12,14],"logarithm":[8,12],"login":[10,12],"long":0,"longer":8,"look":[4,7,10],"lose":12,"lower":[8,10],"lowest":8,"ltf":12,"machin":[0,2,4,7,9,11,12],"made":3,"magnet":4,"mai":[0,6,14],"mail":0,"mailto":[2,14],"main":[0,1,2,4,7,8,9,11],"make":12,"manag":7,"manual":[2,3,7,9],"map":8,"mark":[3,12],"marker":8,"match":[0,3,4,8,10,14],"matter":7,"max":12,"mc":12,"md":[2,4,9,14],"mean":[6,12],"measur":[3,8],"mechan":[3,8],"median":12,"medium":12,"menu":[6,7,9,10],"merg":12,"messag":[11,14],"metadata":[3,7,10],"mhz":12,"microsecond":12,"might":12,"migrad":12,"minim":12,"minimis":12,"mino":12,"minuit2":12,"mirror":4,"miss":4,"mix":13,"mode":[5,8,10,13],"model":[0,1,2,4,6,7,8,9,14],"modeless":[2,9,11],"modern":7,"modifi":13,"monitor":0,"monochrom":8,"more":[7,8,12,14],"most":[5,8],"mous":5,"msr":[1,2,3,4,7,8,9,10,11,12,13,14],"msr2data":[0,3,4,7,8,10],"multi":[3,4,8,12],"multipl":6,"multipli":1,"muon":[1,3,7],"musrfit":[1,2,3,4,7,8,10,11,12],"musrfit_startup":10,"musrfitpath":9,"musrflow":[0,2,3,5,6,7,9,10,11,14],"musrt0":10,"musrus":[0,2],"musrview":[3,4,7,9,10,12],"must":[2,13,14],"name":[1,3,5,7,8,10,12],"nativ":[3,7,8,9,12],"navig":0,"ndf":[11,12],"need":[2,7,8],"neither":0,"never":[0,5,8,10,14],"new":[8,12,14],"newest":8,"newli":8,"next":[0,1,2,6,8,10,12,13],"node":[2,10,12],"non":10,"none":12,"normal":[0,1,5,8,12,13],"note":[4,8,14],"noth":[0,2,4,12],"notic":11,"npm":2,"number":[2,7,8,10],"numer":[8,12],"object":12,"off":12,"offer":[8,11,12],"offset":12,"old":12,"oldest":8,"omit":8,"onc":[1,2,6,8,12],"one":[1,2,3,5,6,7,9,12,13,14],"ones":[2,12],"onli":[0,1,2,8,11,12,13,14],"onto":8,"opac":8,"open":[0,4,6,7,8,9,10,11,12,14],"openmp":[10,12],"oper":11,"opt":12,"option":[0,2,3,4,7,14],"order":[8,10,11,12,13],"ordinari":1,"organis":4,"origin":[4,8],"oscil":12,"other":[1,8,11,13],"otherwis":[0,12],"out":[8,11,12],"outcom":[4,14],"outlier":12,"output":[3,10,11,12],"over":[7,10,11,12],"overlai":[0,14],"overlaid":[8,14],"overrid":[8,12],"overview":4,"overwrit":6,"own":[0,3,6,7,8,9,12],"ownership":[4,5],"pack":12,"packag":[2,4,7,9,10,11,12],"padlock":6,"page":[0,3,4,7,9,12],"pair":12,"palett":[0,8],"pan":[5,8],"pane":[1,11],"panel":[0,5,14],"par":[3,7,11,12],"par4":12,"par7":12,"paramet":[0,2,3,4,6,7,9,10,11,12],"parr":12,"part":[1,3,8],"parti":0,"pass":[0,10],"past":[0,9],"pastel":8,"path":[0,2,8,9,10,12],"payload":0,"peak":10,"per":[1,8,9,11,13],"perform":14,"perman":11,"phase":[3,8,12],"phi":12,"physic":[7,8,12,13],"pick":8,"picker":8,"place":[8,14],"plain":8,"plot":[0,3,4,6,7,9,11,13],"plotli":[5,8],"plottabl":14,"plu":[3,8,12],"point":[2,9,14],"pointer":8,"polici":12,"pop":11,"popul":[0,8],"portabl":[3,7,10],"power":12,"preced":9,"precess":8,"predefin":8,"prefer":[0,4,7,9,12,14],"prefix":[4,8],"prepar":[3,4,6,12],"prerequisit":4,"preselect":8,"present":[8,9,13],"preserv":10,"press":[1,2,5,7,8],"preview":[4,6,12],"previou":12,"previous":13,"primari":11,"print":3,"prioriti":8,"problem":4,"process":11,"produc":[0,2,3,7,8,9,11,12],"progress":12,"project":[2,3],"prompt":10,"protocol":9,"provid":[5,7,8],"psi":[0,2,10,14],"public":10,"put":10,"q":[5,8],"qualiti":12,"question":2,"quick":[4,7,9],"ran":11,"rang":[0,3,4,5,6,7,8,13],"rank":8,"rate":12,"rather":[8,12],"ratio":[1,8,12],"raw":0,"re":[8,12,14],"reachabl":14,"read":[0,1,3,7,8,10,12,13,14],"readabl":[11,14],"readm":[4,9,14],"real":[6,8,12,14],"reason":14,"rebuild":[8,12,14],"rebuilt":[0,8],"recent":8,"recipi":0,"recognis":[6,8],"recolour":8,"record":[3,11,12,14],"recreat":0,"redraw":8,"refer":[0,1,3,7,12],"referenc":1,"refin":1,"refit":[3,8,12,14],"reflect":1,"refresh":[8,14],"regener":6,"regist":0,"regular":12,"reimplement":7,"reject":13,"relat":[0,1],"relax":[8,12],"releas":2,"relev":[7,11],"remain":0,"rememb":[0,10],"remov":[1,8,12],"renam":8,"render":[1,7,8],"replac":[6,8,12],"report":[2,4,12],"reposit":8,"repositori":[2,4],"repres":[1,8],"reproduc":[0,11],"request":8,"requir":[2,9,12],"reread":[8,14],"reset":[5,8,14],"resolut":[12,14],"resolv":[3,7,8,10,12,14],"respect":12,"rest":8,"restor":[0,3,4,7,8,9],"restyl":8,"result":[2,4,6,7,8,10,12,14],"return":[6,12,13],"reus":[3,12,14],"revert":8,"right":[2,7,8],"role":8,"root":[3,4,7,10,11,12,14],"rootsi":9,"rotat":[3,12],"rout":[8,12],"row":[1,8,12,13,14],"rpm":2,"rrf":[0,3,7,12],"run":[0,1,3,4,6,7,8,9,10,13,14],"runner":2,"runtim":[2,9,10],"sai":[8,9],"salman":[2,4,14],"same":[0,1,2,3,4,5,7,8,10,11,12,14],"satur":[10,12],"save":[6,7,8,9,10,12],"scale":12,"scan":[0,8],"scana_par":8,"scanb_par":8,"scatter":8,"scheme":0,"scope":8,"scratch":8,"search":10,"second":[0,12],"section":[2,7],"see":[0,3,4,5,7,8,9,11,12,13,14],"seed":[3,10],"select":[0,2,4,6,7,11],"self":9,"sender":0,"sensibl":10,"sent":0,"separ":[4,8,9,12],"sequenc":[8,12],"seri":[3,4,11,14],"serial":8,"serv":2,"server":[0,2,4,6,7,8,9,10,11,12,14],"session":[0,2,7,10],"set":[0,3,4,5,6,7,9,10,13,14],"setup":[0,10,14],"sever":[8,12],"sgkt":12,"sh":9,"shadow":8,"share":[3,4,7,9,10,12,13,14],"shift":[5,8,13],"ship":[0,10],"short":[2,7,11],"shortcut":4,"shorten":11,"should":14,"show":[1,3,6,7,8,10,11,12,13,14],"shown":[6,8,12],"side":[8,9,11,14],"signal":[3,12],"silent":[6,12],"simplex":12,"sinc":13,"singl":[0,3,7,8,10,12,13],"six":12,"size":8,"skip":[3,8,10,12,14],"slash":12,"slkt":12,"small":8,"smart":8,"so":[0,1,3,5,6,7,8,9,11,12,13],"some":[4,12,13],"someth":8,"somewher":10,"sourc":[0,6,8,14],"space":5,"special":3,"specialis":10,"specif":[8,9,10],"spectra":[3,7,9,11,12],"spectromet":12,"spectroscopi":[3,7],"speed":5,"spin":[3,12],"split":1,"spread":12,"squar":8,"stack":8,"stage":8,"stai":[8,11,12,13],"stand":12,"standard":[5,10,13],"stanza":0,"start":[0,3,4,7,8,9,10,11,12],"startup":[10,14],"state":[0,5,8,11,12],"static":12,"statist":[3,11],"statu":[4,12,14],"step":[3,7,8,9,10,12,14],"still":[0,8,9,12],"store":[10,13],"strategi":12,"stretch":12,"stretchco":12,"strictli":12,"stripe":[8,14],"strkt":12,"strktexp":12,"strktsexp":12,"strong":12,"style":0,"subtract":3,"success":[11,12],"suffix":[8,10],"sum":12,"summari":12,"summaris":12,"support":4,"surrend":6,"surviv":8,"swatch":8,"switch":12,"symbol":8,"sync":8,"synchronis":[7,11],"syntax":[1,12],"system":[0,9],"t":8,"t0":[4,7,10],"tab":[0,1,2,4,6,7,8,9,11,12,13],"tabl":[0,2,3,4,7,11,12,14],"tag":8,"take":[8,9,10,12,13],"target":0,"task":5,"temperatur":8,"templat":[6,11],"ters":11,"tesla":12,"text":[1,3,5,6,8,9,11,12,14],"tf":8,"than":[8,12],"thei":[1,2,4,5,7,8,11,12,13],"theirs":8,"them":[1,8,10,13,14],"theori":[1,3,12],"therefor":[0,8],"thi":[0,1,2,3,4,6,7,8,9,10,11,12,13,14],"third":0,"those":[8,9,14],"thread":[10,12],"three":[1,8,12],"through":[3,6,8,9,12],"tick":8,"time":[0,1,7,8,10,12,13],"titl":8,"togeth":12,"toggl":[5,8],"token":13,"tool":[2,3,4,5,7,9,10,14],"toolbar":[6,7,8,12],"top":[0,8],"total":8,"toward":8,"toyab":12,"trace":0,"track":2,"transform":[3,12],"transient":11,"treat":3,"tree":[2,7,9,10,12,14],"troubleshoot":4,"truth":6,"twice":[8,12],"two":[3,4,6,8,12,13,14],"type":[1,3,5,8,12],"typic":[1,7],"u":[5,8,10,12],"unaffect":12,"uncertainti":[3,8],"unchang":[4,13],"uncheck":[8,10,14],"under":[1,4,8,9,10,11,14],"underneath":8,"unexpect":11,"unifi":8,"uniform":12,"unit":[3,12],"unless":8,"unlock":[6,14],"unmatch":8,"unreli":10,"unspecifi":12,"until":[6,14],"untouch":[0,12],"up":[5,8,11,12],"updat":[1,8],"upload":8,"upper":8,"url":[0,2,3],"us":[0,1,3,4,6,7,8,9,10,11,12,13,14],"usabl":11,"user":[8,9],"usual":[5,10],"valid":[10,12,14],"valu":[0,1,3,7,8,10,11,12,13,14],"vari":[7,8],"variabl":[0,8],"variant":12,"varieti":12,"verifi":[1,7,14],"version":14,"vertic":8,"via":[9,12],"view":[0,3,4,7],"viewer":[3,7],"visibl":[6,8],"visitor":0,"visual":12,"vm":12,"wa":[0,6,8,11,14],"wai":[8,11,12,13],"warn":[12,14],"weak":12,"web":[3,4,6,7,8,10,11,12],"webpag":9,"well":[0,5],"went":11,"were":11,"what":[1,4,8,9,11,14],"whatev":0,"when":[0,2,8,9,10,11,12,13],"whenev":8,"where":[9,10,12,14],"whether":[5,8,11],"which":[3,6,8,10,12],"while":[0,5,6,8,10,11,12],"who":0,"whole":[8,11],"whose":[10,12,13],"win":[8,10],"window":[0,2,3,4,7,9,12],"within":8,"without":[0,1,8,9,10,11,12,13],"work":[0,2,5,7,8,10,12,14],"workflow":[1,4,7,9],"workstat":10,"worst":[11,12],"would":[6,12,13],"wrap":[2,4],"writabl":14,"write":[2,3,6,7,10,12],"written":[10,13],"wrong":[4,11],"x":[4,5,12,14],"xml":[10,14],"y":[5,8,12],"year":[0,2,7,12],"yet":8,"you":[1,4,6,8,10,12,13,14],"your":[0,2,7,8,11,12],"zaher":[2,4,14],"zero":10,"zoom":[5,8],"\u00b5sr":[7,8],"\u03bb\u2081":8,"\u03c7\u00b2":[11,12]},"titles":["Configuration sharing","Constraints","Getting started","Glossary","muSRFlow User Manual","Keyboard shortcuts","MSR editor","Overview","Parameters and parameter plots","Web and desktop editions","Preferences","Results and diagnostics","Runs and fitting","t0 / background","Troubleshooting"],"titleterms":{"A":7,"On":0,"The":[2,8,11],"action":12,"app":2,"asymmetri":13,"axi":8,"background":13,"bar":11,"bundl":9,"cannot":14,"choos":8,"column":8,"command":11,"configur":[0,8,14],"constraint":1,"content":4,"coupl":1,"custom":1,"data":[8,14],"desktop":[0,2,9],"detail":11,"diagnost":11,"dialog":[8,11],"differ":14,"edit":[2,7,8,9],"editor":[5,6],"empti":14,"exampl":1,"execut":11,"field":1,"file":[6,8,11,14],"first":7,"fit":[7,12,13,14],"frequenc":1,"from":14,"gener":5,"get":[2,7],"glossari":3,"group":13,"gui":6,"guid":2,"handl":6,"hang":14,"hood":7,"i":[0,14],"instal":2,"keyboard":[5,8],"larmor":1,"link":14,"load":14,"log":11,"look":14,"machin":14,"magnet":1,"manual":4,"miss":14,"model":12,"msr":[5,6],"multi":13,"multipl":8,"musrfit":9,"musrflow":4,"note":[0,5],"noth":14,"one":8,"open":2,"option":[8,12],"origin":14,"outcom":11,"overlai":8,"overview":7,"ownership":6,"page":14,"panel":8,"paramet":[1,5,8,14],"per":12,"plot":[5,8,12,14],"prefer":10,"prefix":14,"prepar":14,"prerequisit":2,"preset":8,"preview":1,"problem":14,"quick":2,"rang":12,"rememb":8,"report":14,"restor":14,"result":11,"root":9,"run":[2,11,12],"select":[5,8,12],"seri":[8,12],"set":[8,12],"share":[0,8],"shortcut":[5,8],"some":14,"start":[2,14],"statist":12,"statu":11,"style":8,"support":2,"t0":13,"tab":5,"tabl":8,"templat":8,"trace":8,"troubleshoot":14,"two":7,"unchang":14,"under":7,"user":4,"view":12,"web":[0,2,9,14],"what":[0,7],"window":[5,8,11],"workflow":6,"wrong":14,"x":8,"you":7}}) \ No newline at end of file +Search.setIndex({"alltitles":{"A first fit":[[7,"a-first-fit"]],"Bundled ROOT and musrfit":[[9,"bundled-root-and-musrfit"]],"Command log":[[11,"command-log"]],"Configuration sharing":[[0,null]],"Constraints":[[1,null],[1,"id1"]],"Contents":[[4,null]],"Custom parameters":[[1,"custom-parameters"]],"Desktop installation":[[2,"desktop-installation"]],"Editing trace styles":[[8,"editing-trace-styles"]],"Example: couple the magnetic field to the Larmor frequency":[[1,"example-couple-the-magnetic-field-to-the-larmor-frequency"]],"Execution details":[[11,"execution-details"]],"File handling":[[6,"file-handling"]],"Fit and Plot":[[12,"fit-and-plot"]],"Fit model":[[12,"fit-model"]],"Fit options":[[12,"fit-options"]],"Fit or plot will not start":[[14,"fit-or-plot-will-not-start"]],"Fit range":[[12,"fit-range"]],"Fitted parameters look wrong or unchanged":[[14,"fitted-parameters-look-wrong-or-unchanged"]],"General notes":[[5,"general-notes"]],"Getting started":[[2,null]],"Glossary":[[3,null]],"Keyboard shortcuts":[[5,null],[8,"keyboard-shortcuts"]],"MSR editor":[[5,"msr-editor"],[6,null]],"Multi-group asymmetry fits":[[13,"multi-group-asymmetry-fits"]],"Notes":[[0,"notes"]],"On the desktop":[[0,"on-the-desktop"]],"On the web":[[0,"on-the-web"]],"Opening the web edition":[[2,"opening-the-web-edition"]],"Outcome dialog":[[11,"outcome-dialog"]],"Overlay data sets (multiple files in one panel)":[[8,"overlay-data-sets-multiple-files-in-one-panel"]],"Overview":[[7,null]],"Ownership: GUI or editor":[[6,"ownership-gui-or-editor"]],"Parameter plot hangs on \u201cPreparing plot files\u201d":[[14,"parameter-plot-hangs-on-preparing-plot-files"]],"Parameter plot is empty or missing data":[[14,"parameter-plot-is-empty-or-missing-data"]],"Parameter selection (Parameters tab)":[[5,"parameter-selection-parameters-tab"]],"Parameter-plot window":[[5,"parameter-plot-window"]],"Parameters and parameter plots":[[8,null]],"Per-run statistics":[[12,"per-run-statistics"]],"Plot options":[[8,"plot-options"]],"Preferences":[[10,null]],"Prerequisites":[[2,"prerequisites"]],"Preview":[[1,"preview"]],"Remembered plot configurations":[[8,"remembered-plot-configurations"]],"Reporting problems":[[14,"reporting-problems"]],"Restored configuration differs from the original machine":[[14,"restored-configuration-differs-from-the-original-machine"]],"Result files":[[11,"result-files"]],"Results and diagnostics":[[11,null]],"Run log window":[[11,"run-log-window"]],"Run selection":[[12,"run-selection"]],"Running the desktop app":[[2,"running-the-desktop-app"]],"Runs and fitting":[[12,null]],"Selecting parameters for plotting":[[8,"selecting-parameters-for-plotting"]],"Series fit actions":[[12,"series-fit-actions"]],"Some links start with a different prefix":[[14,"some-links-start-with-a-different-prefix"]],"Support":[[2,"support"]],"Template and series presets":[[8,"template-and-series-presets"]],"The Choose X axis dialog":[[8,"the-choose-x-axis-dialog"]],"The Quick Start guide":[[2,"the-quick-start-guide"]],"The Shared column":[[8,"the-shared-column"]],"The parameter table":[[8,"the-parameter-table"]],"The parameter-plot window":[[8,"the-parameter-plot-window"]],"The status bar":[[11,"the-status-bar"]],"Troubleshooting":[[14,null]],"Two editions":[[7,"two-editions"]],"Under the hood":[[7,"under-the-hood"]],"View settings":[[12,"view-settings"]],"Web and desktop editions":[[9,null]],"Web page cannot load data":[[14,"web-page-cannot-load-data"]],"What is shared":[[0,"what-is-shared"]],"What you get":[[7,"what-you-get"]],"Workflow":[[6,"workflow"]],"muSRFlow User Manual":[[4,null]],"t0 / background":[[13,null]],"\u201cNothing to fit\u201d":[[14,"nothing-to-fit"]]},"docnames":["configuration-sharing","constraints","getting-started","glossary","index","keyboard-shortcuts","msr-editor","overview","parameters-plots","platforms","preferences","results-diagnostics","runs-fitting","t0-background","troubleshooting"],"envversion":{"sphinx":65,"sphinx.domains.c":3,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":9,"sphinx.domains.index":1,"sphinx.domains.javascript":3,"sphinx.domains.math":2,"sphinx.domains.python":4,"sphinx.domains.rst":2,"sphinx.domains.std":2},"filenames":["configuration-sharing.rst","constraints.rst","getting-started.rst","glossary.rst","index.rst","keyboard-shortcuts.rst","msr-editor.rst","overview.rst","parameters-plots.rst","platforms.rst","preferences.rst","results-diagnostics.rst","runs-fitting.rst","t0-background.rst","troubleshooting.rst"],"indexentries":{"addrun":[[3,"term-ADDRUN",true]],"configuration link":[[3,"term-configuration-link",true]],"dump_header":[[3,"term-dump_header",true]],"fft":[[3,"term-FFT",true]],"fit document":[[3,"term-fit-document",true]],"global parameter":[[3,"term-global-parameter",true]],"independent-series fit":[[3,"term-independent-series-fit",true]],"msr":[[3,"term-MSR",true]],"msr2data":[[3,"term-msr2data",true]],"musrfit":[[3,"term-musrfit",true]],"musrview":[[3,"term-musrview",true]],"par.dat":[[3,"term-par.dat",true]],"root plot":[[3,"term-ROOT-plot",true]],"rrf":[[3,"term-RRF",true]],"run":[[3,"term-RUN",true]]},"objects":{},"objnames":{},"objtypes":{},"terms":{"":[0,3,5,6,8,10,12,13,14],"0":12,"01":12,"012":11,"1":[8,10,11,12,13],"100":[8,12],"101":13,"103":13,"12":[8,12],"16":12,"1998":12,"2":[8,12,13],"21":12,"24":12,"25":12,"3":[8,12,13],"300":8,"4":[12,13],"5":12,"514":[3,12],"515":[3,12],"516":12,"520":12,"525":12,"540":12,"7":12,"8":12,"A":[0,1,3,4,8,10,11,12,13,14],"For":[2,6,8,11,12,13],"If":[0,4,8,11,12,14],"In":[5,7,8,14],"It":[0,1,4,6,7,11],"Its":[5,7],"On":[2,3,4,6,7,9,11,12,14],"One":[3,12],"The":[0,1,3,4,5,6,7,9,10,12,13,14],"Then":8,"There":2,"These":4,"To":[1,12],"With":[5,8],"_asi":10,"_par":[0,8],"_singlehist":10,"abov":[0,8],"abragamco":12,"accept":14,"access":9,"accumul":12,"across":[7,8,10,13],"action":[0,3,4,5,7,8,10,11,14],"activ":[2,5,6,7,8,14],"actor":6,"actual":[0,12,13],"ad":[8,10,12],"add":[1,5,8,11,12,14],"addit":8,"addrun":[3,12],"adjust":[7,8,13],"affect":8,"after":[0,8,12,14],"afterward":[8,11],"again":[7,8,12,14],"against":[8,14],"aggreg":[11,12],"agre":[13,14],"align":8,"all":[2,3,8,11,12,14],"alpha":[8,12],"alreadi":[2,8,12],"also":[0,2,6,8],"alwai":[8,12],"among":8,"amplitud":[8,12],"an":[0,1,2,3,4,6,7,8,10,11,12,13,14],"analysi":[0,3,6,7,11,14],"anchor":5,"ani":[1,6,7,8,9,11,12,13],"anoth":[0,3,7,8,14],"anyon":0,"anyth":[4,10],"apod":[3,12],"app":[0,4,10],"appear":[2,8,11],"append":[3,10],"appimag":[0,2],"appli":[0,1,3,5,8,9,12],"applic":[0,4,9],"approxim":10,"ar":[0,1,2,4,7,8,9,10,12,13,14],"area":[5,11],"argument":11,"arithmet":1,"around":4,"arrang":[0,8],"artifact":[6,9,10,11],"ask":[6,8],"assign":8,"asymmetri":[4,8,10,12],"attempt":[6,14],"authorit":[11,12,14],"auto":[8,10],"automat":[3,5,8,10,12],"auxiliari":9,"avail":[0,1,4,8,10,12],"avoid":[1,10],"awar":2,"ax":[5,8],"axi":[4,12,14],"b":8,"back":[6,8,12,13],"background":[4,7,8],"backward":[0,12],"bar":[0,2,4,5,7,8,12,14],"base":[0,8],"becom":[1,6,8,12],"been":5,"befor":[1,8,9,10,12,14],"behaviour":[4,11,12,13],"behind":[8,9],"below":[11,12],"bench":14,"besid":9,"best":[11,12],"between":[5,8,9,12],"beyond":8,"bfield":[1,8],"bg":[7,13],"bin":[12,13],"binari":[9,10],"bind":1,"blank":[10,12],"blob":8,"block":[1,3,8,11,12],"bold":8,"both":[1,3,4,7,8,9,13,14],"bottom":11,"box":[5,8],"browser":[0,2,3,4,7,8,9,14],"bug":2,"build":[0,2,4,8,9,10],"built":[4,6,8,9],"bulk":8,"bundl":[4,10],"button":[0,1,2,3,4,6,7,8,9,11,12],"byte":0,"c":[0,14],"cach":12,"calcul":12,"came":12,"can":[0,1,3,6,7,8,9,12],"cancel":10,"cannot":[0,4,8,11,12,13],"canon":0,"canva":[3,7,9,11,12],"canvas":3,"cap":[8,12],"carri":[0,3,8,9,12,14],"caveat":0,"cfg":14,"cgi":[2,4,9,14],"ch":[0,2,10,14],"chain":0,"chang":[1,6,8,10,12,14],"chapter":[2,7,9],"chart":5,"check":[8,14],"checkbox":8,"checkout":2,"chip":[3,8,12,14],"choic":[8,12],"choos":[0,1,2,4,7,10],"chosen":[8,12],"clash":10,"classic":[7,12],"clear":8,"click":[0,5,6,7,8,11,12,14],"client":0,"clipboard":5,"clone":8,"close":[5,6,8,10,11,14],"closest":8,"cmd":[5,8],"code":11,"collaps":[11,13],"colleagu":[0,8],"collect":[7,11],"collid":5,"colon":12,"colour":8,"column":[3,12,14],"combin":12,"come":9,"comma":12,"command":[3,4,7,9,10,12,14],"commit":8,"common":[8,13],"compact":[0,14],"companion":3,"compar":8,"compat":12,"complet":[0,6,11],"compon":[0,1,8,12,14],"compos":12,"compress":[0,3,14],"concentr":4,"concern":9,"concret":8,"configur":[3,4,7,9,10],"confirm":[6,8,12,14],"constant":[1,8],"constrain":1,"constraint":[0,3,4,6,7,8,12],"contact":[2,4,14],"contain":[1,8,9,11],"content":[8,12],"context":11,"contigu":[8,12],"contrast":12,"control":[1,6,7,8,13,14],"conveni":12,"convent":10,"converg":[11,12],"convert":7,"coordin":8,"copi":[0,6,8,9],"core":[10,12],"correct":[3,12],"correspond":2,"could":[0,14],"count":[8,12],"coupl":4,"covari":12,"cover":[4,14],"cpu":12,"creat":4,"cross":8,"ctrl":[5,8],"current":[0,2,3,6,7,8,10,12,13,14],"cursor":5,"curv":8,"custom":[4,7,8,12],"cycl":12,"dai":7,"damp":8,"dash":12,"dat":[0,3,7,8,11],"data":[0,2,3,4,7,9,10,11,12,13],"dc":12,"dedic":0,"default":[8,10,12,13],"defin":1,"degrad":8,"degre":12,"delet":8,"depend":[5,12],"deploi":14,"deploy":[0,2,4],"deriv":[8,10],"describ":[2,3,4,8,12],"deselect":[5,8],"desk":4,"desktop":[3,4,6,7,8,10,11,12,14],"desktop_deploy":[2,4],"detail":[4,7,12,14],"detect":10,"detector":[8,12,13],"develop":10,"diagnos":11,"diagnost":4,"dialog":[0,2,3,4,7,9,10,14],"did":[11,12],"differ":[0,4,7,9,12,13],"direct":[3,12],"directli":[0,1,6,7,8],"directori":[0,7,9,10,11,14],"disabl":12,"disagre":13,"disappear":[8,12],"disclosur":12,"disk":[0,6,12],"dismiss":8,"displai":[3,6,7,8,9,11,12],"dist":2,"distinct":[8,12,13],"distribut":9,"do":[6,12,13,14],"doc":[2,4],"document":[0,2,3,4,5,6,7,10,11,12,13,14],"doe":[0,4,6,7,8,11,12],"dolli":12,"domain":[3,12],"dot":12,"download":[5,8,11],"drag":8,"draw":[0,8],"drawn":[3,7,8,9,12],"drive":8,"driven":5,"dropdown":[1,8,12,14],"dump_head":[3,4,7,10],"dynam":12,"e":[2,8,12],"each":[2,3,8,11,12],"edit":[3,4,5,6,10,12,13,14],"editor":[3,4,7,8,9,12,14],"effect":[10,13],"effici":12,"eight":8,"either":[0,12],"electron":[0,2,4,6,7,9,10],"element":11,"elig":12,"embed":[0,8],"empti":[4,8,10,12],"enabl":[8,10,12],"encod":[0,7],"end":[4,8,12],"endpoint":[9,14],"energi":8,"engin":[3,7,9],"enter":[2,5,6,7,12],"entri":[3,5,8],"equal":1,"equival":8,"eras":11,"error":[0,8,12],"esc":[5,8],"estim":10,"even":8,"event":5,"everi":[3,5,7,8,10,11,12,13,14],"everydai":5,"everyth":[1,12],"evolv":7,"ex":9,"exact":[8,12],"exactli":[1,8,9],"exampl":[4,8,10,11,12,13],"exce":12,"execut":[4,7],"exist":[0,8,10,12,13],"exit":11,"expand":[2,7,8,12],"expert":[7,13],"explain":11,"explicit":[8,10],"explicitli":9,"exponenti":12,"exponentialbessel":12,"exponentialco":12,"expos":[0,6,7,9,10,12,14],"express":[1,12],"extern":2,"extra":8,"factor":12,"factori":7,"fail":[11,12,14],"fast":3,"fastest":14,"featur":10,"fed":7,"feed":[7,8,11],"fetch":14,"few":5,"fft":[0,3,7,12],"field":[4,5,6,8,10,12,13],"file":[0,2,3,4,7,9,10,12,13],"final":[7,8],"finish":[11,14],"first":[0,2,4,6,8,10,12,14],"fit":[0,1,2,3,4,6,8,9,10,11],"fitparamet":[3,8],"fix":[8,9,12,13,14],"flame":12,"flip":12,"flow":12,"focu":5,"focus":[5,8],"follow":[8,12],"forc":10,"forget":8,"form":[3,9,12,14],"format":3,"forward":[12,13],"four":8,"fourier":[3,12],"fragment":[0,3],"frame":[3,12],"free":12,"frequenc":[3,4,8,10,12],"fresh":6,"freshli":12,"from":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],"frq":[1,8],"full":[5,7,8,11],"function":[1,3,12],"further":12,"g":[2,8,12],"gain":12,"gamma_mu":[1,8],"gauss":12,"gaussian":12,"gaussianbessel":12,"gaussianco":12,"gbgco":12,"gbgexp":12,"gbgsexp":12,"gbgzf":12,"gdktlf":12,"gener":[1,3,4,6,7,8,10,11,12,13],"get":[0,4,8],"gett0frompromptpeak":10,"give":11,"given":10,"glfexp":12,"glfsexp":12,"global":[3,8,12],"glossari":4,"good":13,"gp":12,"gpd":12,"gracefulli":8,"graphic":4,"grid":8,"group":[4,8,10,12],"grow":8,"guess":[3,7,8,10,13],"gui":[1,4,7,11,12,14],"guid":[4,7],"gyromagnet":1,"ha":[0,3,5,8,10,12,14],"hal":12,"hand":[0,5,6,8,11,12,14],"handl":[0,4,8,9],"hang":4,"happen":8,"harmlessli":0,"hash":0,"have":[8,12,13],"header":10,"health":14,"help":[4,9,14],"hess":12,"hide":[8,12],"highest":8,"highlight":[7,12],"hint":10,"hist":12,"histogram":[10,12,13],"hold":[5,8,10,12,13,14],"hood":4,"host":[2,13],"hover":11,"how":[0,7,12],"http":[0,2],"i":[1,2,3,4,5,6,7,8,9,10,11,12,13],"icon":[0,6],"ident":[0,8,12],"identifi":[8,12],"idl":11,"ignor":[0,5,12,14],"imaginari":12,"immedi":[0,1,8,11],"import":[8,9,13],"includ":[0,1,8,12,14],"inconsist":13,"independ":[2,3,8,9,11,12,14],"indic":8,"individu":[8,12],"inform":12,"initi":[3,7,8,10],"inlin":[0,8,12],"input":[3,5,9],"insid":[3,7,9,12],"inspect":[4,7,11],"instal":[0,4,9,10,12,14],"instanc":0,"instead":[0,1,8,10,11,14],"instrument":[0,2,7,10,12],"interact":[5,7,8],"interfac":7,"introduc":8,"invalid":11,"invok":[9,11],"involv":14,"issu":2,"its":[0,2,3,7,8,9,10,11,12,13,14],"itself":8,"j":2,"join":3,"jsroot":[3,7,9,12],"just":[5,6,8],"k":8,"keep":[6,8,10,11,12,13],"kei":[0,5,8],"kept":[11,12],"kev":8,"keyboard":4,"khz":12,"kt":12,"kubo":12,"label":[8,12],"lack":14,"lai":8,"lam_2255":8,"larg":11,"larger":8,"larmor":4,"lasso":5,"last":11,"later":[2,11,13],"layout":8,"ld_library_path":9,"ldktlf":12,"le":8,"leak":8,"least":14,"leav":[8,10,12,13],"left":8,"legaci":[12,14],"legend":8,"lem":[10,12],"let":[0,8,10],"level":8,"lgkt":12,"lgktexp":12,"lgktsexp":12,"librari":9,"lifetim":12,"like":[1,13],"likelihood":12,"limit":[3,7,8,12],"line":[3,4,7,8,9,10,11,14],"linear":8,"lineshap":8,"link":[0,2,3,4,7,8,9,11],"linux":2,"list":[1,6,8,11,12,14],"liter":1,"live":[1,7,9,10,11,12],"llfexp":12,"llfsexp":12,"lmu":10,"load":[4,8,13],"local":[0,2,7,8,9,10,12,14],"locat":10,"lock":[6,14],"log":[4,7,12,14],"logarithm":[8,12],"login":[10,12],"long":0,"longer":8,"look":[4,7,10],"lose":12,"lower":[8,10],"lowest":8,"ltf":12,"machin":[0,2,4,7,9,11,12],"made":3,"magnet":4,"mai":[0,6,14],"mail":0,"mailto":[2,14],"main":[0,1,2,4,7,8,9,11],"make":12,"manag":7,"manual":[2,3,7,9],"map":8,"mark":[3,12],"marker":8,"match":[0,3,4,8,10,14],"matter":7,"max":12,"mc":12,"md":[2,4,9,14],"mean":[6,12],"measur":[3,8],"mechan":[3,8],"median":12,"medium":12,"menu":[6,7,9,10],"merg":12,"messag":[11,14],"metadata":[3,7,10],"mhz":12,"microsecond":12,"might":12,"migrad":12,"minim":12,"minimis":12,"mino":12,"minuit2":12,"mirror":4,"miss":4,"mix":13,"mode":[5,8,10,13],"model":[0,1,2,4,6,7,8,9,14],"modeless":[2,9,11],"modern":7,"modifi":13,"monitor":0,"monochrom":8,"more":[7,8,12,14],"most":[5,8],"mous":5,"msr":[1,2,3,4,7,8,9,10,11,12,13,14],"msr2data":[0,3,4,7,8,10],"multi":[3,4,8,12],"multipl":6,"multipli":1,"muon":[1,3,7],"musrfit":[1,2,3,4,7,8,10,11,12],"musrfit_startup":10,"musrfitpath":9,"musrflow":[0,2,3,5,6,7,9,10,11,14],"musrt0":10,"musrus":[0,2],"musrview":[3,4,7,9,10,12],"must":[2,13,14],"name":[1,3,5,7,8,10,12],"nativ":[3,7,8,9,12],"navig":0,"ndf":[11,12],"need":[2,7,8],"neither":0,"never":[0,5,8,10,14],"new":[8,12,14],"newest":8,"newli":8,"next":[0,1,2,6,8,10,12,13],"node":[2,10,12],"non":10,"none":12,"normal":[0,1,5,8,12,13],"note":[4,8,14],"noth":[0,2,4,12],"notic":11,"npm":2,"number":[2,7,8,10],"numer":[8,12],"object":12,"off":12,"offer":[8,11,12],"offset":12,"old":12,"oldest":8,"omit":8,"onc":[1,2,6,8,9,12],"one":[1,2,3,5,6,7,9,12,13,14],"ones":[2,12],"onli":[0,1,2,8,11,12,13,14],"onto":8,"opac":8,"open":[0,4,6,7,8,9,10,11,12,14],"openmp":[10,12],"oper":11,"opt":12,"option":[0,2,3,4,7,14],"order":[8,10,11,12,13],"ordinari":1,"organis":4,"origin":[4,8],"oscil":12,"other":[1,8,11,13],"otherwis":[0,12],"out":[8,11,12],"outcom":[4,14],"outlier":12,"output":[3,9,10,11,12],"over":[7,10,11,12],"overlai":[0,14],"overlaid":[8,14],"overrid":[8,12],"overview":4,"overwrit":6,"own":[0,3,6,7,8,9,12],"ownership":[4,5],"pack":12,"packag":[2,4,7,9,10,11,12],"padlock":6,"page":[0,3,4,7,9,12],"pair":12,"palett":[0,8],"pan":[5,8],"pane":[1,11],"panel":[0,5,14],"par":[3,7,11,12],"par4":12,"par7":12,"paramet":[0,2,3,4,6,7,9,10,11,12],"parr":12,"part":[1,3,8],"parti":0,"pass":[0,10],"past":[0,9],"pastel":8,"path":[0,2,8,9,10,12],"payload":0,"peak":10,"per":[1,8,9,11,13],"perform":14,"perman":11,"phase":[3,8,12],"phi":12,"physic":[7,8,12,13],"pick":8,"picker":8,"place":[8,14],"plain":8,"plot":[0,3,4,6,7,9,11,13],"plotli":[5,8],"plottabl":14,"plu":[3,8,12],"point":[2,9,14],"pointer":8,"polici":12,"pop":11,"popul":[0,8],"portabl":[3,7,10],"power":12,"preced":9,"precess":8,"predefin":8,"prefer":[0,4,7,9,12,14],"prefix":[4,8],"prepar":[3,4,6,12],"prerequisit":4,"preselect":8,"present":[8,9,13],"preserv":10,"press":[1,2,5,7,8],"preview":[4,6,12],"previou":12,"previous":13,"primari":11,"print":3,"prioriti":8,"problem":4,"process":11,"produc":[0,2,3,7,8,9,11,12],"progress":12,"project":[2,3],"prompt":10,"protocol":9,"provid":[5,7,8],"psi":[0,2,10,14],"public":10,"put":10,"q":[5,8],"qualiti":12,"question":2,"quick":[4,7,9],"ran":11,"rang":[0,3,4,5,6,7,8,13],"rank":8,"rate":12,"rather":[8,12],"ratio":[1,8,12],"raw":0,"re":[8,12,14],"reachabl":14,"read":[0,1,3,7,8,10,12,13,14],"readabl":[11,14],"readm":[4,9,14],"real":[6,8,12,14],"reason":14,"rebuild":[8,12,14],"rebuilt":[0,8],"recent":8,"recipi":0,"recognis":[6,8],"recolour":8,"record":[3,11,12,14],"recreat":0,"redraw":8,"refer":[0,1,3,7,12],"referenc":1,"refin":1,"refit":[3,8,12,14],"reflect":1,"refresh":[8,14],"regener":6,"regist":0,"regular":12,"reimplement":7,"reject":13,"relat":[0,1],"relax":[8,12],"releas":2,"relev":[7,11],"remain":0,"rememb":[0,10],"remov":[1,8,12],"renam":8,"render":[1,7,8],"replac":[6,8,12],"report":[2,4,12],"reposit":8,"repositori":[2,4],"repres":[1,8],"reproduc":[0,11],"request":8,"requir":[2,9,12],"reread":[8,14],"reset":[5,8,14],"resolut":[12,14],"resolv":[3,7,8,10,12,14],"respect":12,"rest":8,"restor":[0,3,4,7,8,9],"restyl":8,"result":[2,4,6,7,8,10,12,14],"return":[6,12,13],"reus":[3,12,14],"revert":8,"right":[2,7,8],"role":8,"root":[3,4,7,10,11,12,14],"rootf":9,"rootsi":9,"rotat":[3,12],"rout":[8,12],"row":[1,8,12,13,14],"rpm":2,"rrf":[0,3,7,12],"run":[0,1,3,4,6,7,8,9,10,13,14],"runner":2,"runtim":[2,9,10],"sai":[8,9],"salman":[2,4,14],"same":[0,1,2,3,4,5,7,8,10,11,12,14],"satur":[10,12],"save":[6,7,8,9,10,12],"scale":12,"scan":[0,8],"scana_par":8,"scanb_par":8,"scatter":8,"scheme":0,"scope":8,"scratch":8,"search":10,"second":[0,12],"section":[2,7],"see":[0,3,4,5,7,8,9,11,12,13,14],"seed":[3,10],"select":[0,2,4,6,7,11],"self":9,"sender":0,"sensibl":10,"sent":0,"separ":[4,8,9,12],"sequenc":[8,12],"seri":[3,4,11,14],"serial":8,"serv":2,"server":[0,2,4,6,7,8,9,10,11,12,14],"session":[0,2,7,10],"set":[0,3,4,5,6,7,9,10,13,14],"setup":[0,10,14],"sever":[8,12],"sgkt":12,"sh":9,"shadow":8,"share":[3,4,7,9,10,12,13,14],"shift":[5,8,13],"ship":[0,9,10],"short":[2,7,11],"shortcut":4,"shorten":11,"should":14,"show":[1,3,6,7,8,10,11,12,13,14],"shown":[6,8,12],"side":[8,9,11,14],"signal":[3,12],"silent":[6,12],"simplex":12,"sinc":13,"singl":[0,3,7,8,10,12,13],"six":12,"size":8,"skip":[3,8,10,12,14],"slash":12,"slkt":12,"small":8,"smart":8,"so":[0,1,3,5,6,7,8,9,11,12,13],"some":[4,12,13],"someth":8,"somewher":10,"sourc":[0,6,8,14],"space":5,"special":3,"specialis":10,"specif":[8,9,10],"spectra":[3,7,9,11,12],"spectromet":12,"spectroscopi":[3,7],"speed":5,"spin":[3,12],"split":1,"spread":12,"squar":8,"stack":8,"stage":8,"stai":[8,9,11,12,13],"stand":12,"standard":[5,10,13],"stanza":0,"start":[0,3,4,7,8,9,10,11,12],"startup":[10,14],"state":[0,5,8,11,12],"static":12,"statist":[3,11],"statu":[4,12,14],"step":[3,7,8,9,10,12,14],"still":[0,8,9,12],"store":[10,13],"strategi":12,"stretch":12,"stretchco":12,"strictli":12,"stripe":[8,14],"strkt":12,"strktexp":12,"strktsexp":12,"strong":12,"style":0,"subtract":3,"success":[11,12],"suffix":[8,10],"sum":12,"summari":12,"summaris":12,"support":4,"surrend":6,"surviv":8,"swatch":8,"switch":12,"symbol":8,"sync":8,"synchronis":[7,11],"syntax":[1,12],"system":[0,9],"t":8,"t0":[4,7,10],"tab":[0,1,2,4,6,7,8,9,11,12,13],"tabl":[0,2,3,4,7,11,12,14],"tag":8,"take":[8,9,10,12,13],"target":0,"task":5,"temperatur":8,"templat":[6,11],"ters":11,"tesla":12,"text":[1,3,5,6,8,9,11,12,14],"tf":8,"than":[8,12],"thei":[1,2,4,5,7,8,11,12,13],"theirs":8,"them":[1,8,10,13,14],"theori":[1,3,12],"therefor":[0,8],"thi":[0,1,2,3,4,6,7,8,9,10,11,12,13,14],"third":0,"those":[8,9,14],"thread":[10,12],"three":[1,8,12],"through":[3,6,8,9,12],"tick":8,"time":[0,1,7,8,10,12,13],"titl":8,"togeth":12,"toggl":[5,8],"token":13,"tool":[2,3,4,5,7,9,10,14],"toolbar":[6,7,8,12],"top":[0,8],"total":8,"toward":8,"toyab":12,"trace":0,"track":2,"transform":[3,12],"transient":11,"translat":9,"treat":3,"tree":[2,7,9,10,12,14],"troubleshoot":4,"truth":6,"twice":[8,12],"two":[3,4,6,8,12,13,14],"type":[1,3,5,8,12],"typic":[1,7],"u":[5,8,10,12],"unaffect":12,"uncertainti":[3,8],"unchang":[4,13],"uncheck":[8,10,14],"under":[1,4,8,9,10,11,14],"underneath":8,"unexpect":11,"unifi":8,"uniform":12,"unit":[3,12],"unless":8,"unlock":[6,14],"unmatch":8,"unreli":10,"unspecifi":12,"until":[6,14],"untouch":[0,12],"up":[5,8,11,12],"updat":[1,8],"upload":8,"upper":8,"url":[0,2,3],"us":[0,1,3,4,6,7,8,9,10,11,12,13,14],"usabl":11,"user":[8,9],"usual":[5,10],"valid":[10,12,14],"valu":[0,1,3,7,8,10,11,12,13,14],"vari":[7,8],"variabl":[0,8],"variant":12,"varieti":12,"verifi":[1,7,14],"version":14,"vertic":8,"via":[9,12],"view":[0,3,4,7],"viewer":[3,7],"visibl":[6,8],"visitor":0,"visual":12,"vm":12,"wa":[0,6,8,11,14],"wai":[8,11,12,13],"warn":[12,14],"weak":12,"web":[3,4,6,7,8,10,11,12],"webpag":9,"well":[0,5],"went":11,"were":11,"what":[1,4,8,9,11,14],"whatev":0,"when":[0,2,8,9,10,11,12,13],"whenev":8,"where":[9,10,12,14],"whether":[5,8,11],"which":[3,6,8,10,12],"while":[0,5,6,8,10,11,12],"who":0,"whole":[8,11],"whose":[10,12,13],"win":[8,10],"window":[0,2,3,4,7,9,12],"within":8,"without":[0,1,8,9,10,11,12,13],"work":[0,2,5,7,8,10,12,14],"workflow":[1,4,7,9],"workstat":10,"worst":[11,12],"would":[6,12,13],"wrap":[2,4],"writabl":14,"write":[2,3,6,7,10,12],"written":[10,13],"wrong":[4,11],"wsl":9,"wsl2":9,"x":[4,5,12,14],"xml":[10,14],"y":[5,8,12],"year":[0,2,7,12],"yet":8,"you":[1,4,6,8,10,12,13,14],"your":[0,2,7,8,11,12],"zaher":[2,4,14],"zero":10,"zoom":[5,8],"\u00b5sr":[7,8],"\u03bb\u2081":8,"\u03c7\u00b2":[11,12]},"titles":["Configuration sharing","Constraints","Getting started","Glossary","muSRFlow User Manual","Keyboard shortcuts","MSR editor","Overview","Parameters and parameter plots","Web and desktop editions","Preferences","Results and diagnostics","Runs and fitting","t0 / background","Troubleshooting"],"titleterms":{"A":7,"On":0,"The":[2,8,11],"action":12,"app":2,"asymmetri":13,"axi":8,"background":13,"bar":11,"bundl":9,"cannot":14,"choos":8,"column":8,"command":11,"configur":[0,8,14],"constraint":1,"content":4,"coupl":1,"custom":1,"data":[8,14],"desktop":[0,2,9],"detail":11,"diagnost":11,"dialog":[8,11],"differ":14,"edit":[2,7,8,9],"editor":[5,6],"empti":14,"exampl":1,"execut":11,"field":1,"file":[6,8,11,14],"first":7,"fit":[7,12,13,14],"frequenc":1,"from":14,"gener":5,"get":[2,7],"glossari":3,"group":13,"gui":6,"guid":2,"handl":6,"hang":14,"hood":7,"i":[0,14],"instal":2,"keyboard":[5,8],"larmor":1,"link":14,"load":14,"log":11,"look":14,"machin":14,"magnet":1,"manual":4,"miss":14,"model":12,"msr":[5,6],"multi":13,"multipl":8,"musrfit":9,"musrflow":4,"note":[0,5],"noth":14,"one":8,"open":2,"option":[8,12],"origin":14,"outcom":11,"overlai":8,"overview":7,"ownership":6,"page":14,"panel":8,"paramet":[1,5,8,14],"per":12,"plot":[5,8,12,14],"prefer":10,"prefix":14,"prepar":14,"prerequisit":2,"preset":8,"preview":1,"problem":14,"quick":2,"rang":12,"rememb":8,"report":14,"restor":14,"result":11,"root":9,"run":[2,11,12],"select":[5,8,12],"seri":[8,12],"set":[8,12],"share":[0,8],"shortcut":[5,8],"some":14,"start":[2,14],"statist":12,"statu":11,"style":8,"support":2,"t0":13,"tab":5,"tabl":8,"templat":8,"trace":8,"troubleshoot":14,"two":7,"unchang":14,"under":7,"user":4,"view":12,"web":[0,2,9,14],"what":[0,7],"window":[5,8,11],"workflow":6,"wrong":14,"x":8,"you":7}}) \ No newline at end of file diff --git a/docs/_build/latex/muSRFlow.fdb_latexmk b/docs/_build/latex/muSRFlow.fdb_latexmk index 09e156f..ddc93ae 100644 --- a/docs/_build/latex/muSRFlow.fdb_latexmk +++ b/docs/_build/latex/muSRFlow.fdb_latexmk @@ -1,11 +1,11 @@ # Fdb version 4 -["makeindex muSRFlow.idx"] 1791621490.17959 "muSRFlow.idx" "muSRFlow.ind" "muSRFlow" 1791730106.16275 0 - "muSRFlow.idx" 1791730106.04479 1189 cca9fe93ffba026d593c5ed228d742a4 "pdflatex" +["makeindex muSRFlow.idx"] 1791621490.17959 "muSRFlow.idx" "muSRFlow.ind" "muSRFlow" 1791730964.04474 0 + "muSRFlow.idx" 1791730963.91562 1189 cca9fe93ffba026d593c5ed228d742a4 "pdflatex" (generated) "muSRFlow.ilg" "muSRFlow.ind" (rewritten before read) -["pdflatex"] 1791730103.78886 "muSRFlow.tex" "muSRFlow.pdf" "muSRFlow" 1791730106.16288 0 +["pdflatex"] 1791730961.5942 "muSRFlow.tex" "muSRFlow.pdf" "muSRFlow" 1791730964.04489 0 "/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1577235249 3524 cb3e574dea2d1052e39280babc910dc8 "" "/usr/share/texmf-dist/fonts/tfm/adobe/zapfding/pzdr.tfm" 1136768653 1528 f853c4d1b4e0550255e02831fdc8496f "" "/usr/share/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm" 1246382020 1004 54797486969f23fa377b128694d548df "" @@ -119,13 +119,13 @@ "/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty" 1727642399 55384 b454dec21c2d9f45ec0b793f0995b992 "" "/usr/share/texmf-dist/web2c/texmf.cnf" 1772498184 43617 0f84662189cad3132fecd51f17dd9276 "" "/var/lib/texmf/web2c/xetex/xelatex.fmt" 1783332064 6760887 1c6d1ad838ac2a3dddf7a0433c780710 "" - "muSRFlow.aux" 1791730106.04279 24322 9176e2a8d1447fe1bc48c56f4059a194 "pdflatex" + "muSRFlow.aux" 1791730963.91362 24322 9176e2a8d1447fe1bc48c56f4059a194 "pdflatex" "muSRFlow.ind" 1791621490.25033 1435 1ea9e98c4c43945295d6873d01cf2032 "makeindex muSRFlow.idx" - "muSRFlow.out" 1791730106.04479 11879 c29038db42596b165f0732dea8edf516 "pdflatex" - "muSRFlow.tex" 1791730092.72346 82633 31a973eb060f51d752bbd1915b2056e9 "" - "muSRFlow.toc" 1791730106.04479 6233 a8f6b0c136864b1af14f888e6e6bff3e "pdflatex" + "muSRFlow.out" 1791730963.91562 11879 c29038db42596b165f0732dea8edf516 "pdflatex" + "muSRFlow.tex" 1791730954.26937 83101 d0ee1391468e6d7db61b50f4fb6e409e "" + "muSRFlow.toc" 1791730963.91562 6233 a8f6b0c136864b1af14f888e6e6bff3e "pdflatex" "sphinx.sty" 1789374174.58095 54203 ee7fe875437470f5328ee20661bb9f1d "" - "sphinxhighlight.sty" 1791730092.60905 7553 83fb52292c17957d9f4aadcb28c57a87 "" + "sphinxhighlight.sty" 1791730954.16922 7553 83fb52292c17957d9f4aadcb28c57a87 "" "sphinxlatexadmonitions.sty" 1789374174.58095 19111 5e67a0f91439018bceb7cadf319345e6 "" "sphinxlatexcontainers.sty" 1789374174.58295 900 d61f923db071a7b54d3cee8a1e6935d3 "" "sphinxlatexgraphics.sty" 1789374174.58295 4918 c9266041d02bc615d54b890e96e3acd3 "" @@ -140,7 +140,7 @@ "sphinxlatexstyletext.sty" 1789374174.58495 6759 9e932c65374cfb62686485d331bc975c "" "sphinxlatextables.sty" 1789374174.58495 57643 7f1013c2fa11942370d867527bdda568 "" "sphinxmanual.cls" 1789374174.58495 4241 7b0d7a37df7b5715fb0dbd585c52ecdb "" - "sphinxmessages.sty" 1791730092.72877 745 3f5fcd6cdd7964ed608767954a8ced6f "" + "sphinxmessages.sty" 1791730954.27339 745 3f5fcd6cdd7964ed608767954a8ced6f "" "sphinxoptionsgeometry.sty" 1789374174.58695 2060 6c27b3eba37bde592ae8908ab2c1ac0f "" "sphinxoptionshyperref.sty" 1789374174.58695 1093 e468489bae7631a7f387b4b0f7bc15d4 "" "sphinxpackageboxes.sty" 1789374174.58695 36106 1be2053eb1cb9b083b3a75e3657bcb24 "" diff --git a/docs/_build/latex/muSRFlow.pdf b/docs/_build/latex/muSRFlow.pdf index 0b7a6de5f9a087a29d31ecb3c396184aecf36ba1..b2c86672b61b0a63eaa3c90e7cf2fc3f191dea8f 100644 GIT binary patch delta 7108 zcmai&MO@U6_w{Ay?vxN1BqfJ#kPboV?(Q7&Bi*eG-AI>6N_U6S4&B{d|L<@2?4He8 z-Fx2Wb?@#pZJ-VApnd&?;71Q|adGmAiD9^VxLKMyVnCOwv`4Eq`LLF6S+5Yat_!Fo z)?|VjCA>qdv^|pG;AIbz`h!zgf&7x22ot-S0n+>r=4cTSFvI0Ibn|R7lR$ZRe9lU& zqhL+@>ACn7Xw9Gj&IkPdy$NpV7~ANU)mFxsljNEoq#@n?^H*?aq8|wD+%sTe^2-}r zuc=mILT;e5dt+DB#!kITd&5DT3#$Hv0MwX9TnS{M5WG8TpMu+|D>>tto9pbDECP%ym~J zc8l=4e!qII>z(3APktdu>1Dis>l|}aG@$3kdr-DR^Ab?01dP4-E#~8ikQd`l2B=2( ziOTBErtc++4gdI7oOnWExW{RJuB=`%NMV}0k2mwSp$d<90zUcr1X(p*MZKW|%g z?X#l|z9Big#P&xK+3_m_$-?7-gQ(}Sg^UdLA84py;eIb0qwUI2Jda?GY2(1XR zLE~SCSxgn-e*w>r4{-N2v@fTivOTY~%RJ35UX>Wu%IMb5(!ikuaaYFwWZ2ZwiY)(?5+OUN64PWdaLIj%{rTkg{EjKThG-_;IW1 z50zU5mva$S4y}xkOWzLhyB0S>-#F{jouw<+A*L|+8yg|eWP6BHjis-%wP#zT(rb6Z z3?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emVUWm~DSCPWUh9doMGW@SkAMb*ulDa1G;CTl- zR1{4)0xLg23yI*BNnePOrrMFoP(XeFPT`W08nNKDfoKigycMCmvY|>gm*=P)mj#38 zm`%3H#8cJpF^A5(iI&iB#-~1@34xpQg2_9SRZiRPEf3r`=QP=%J(|o*0nl#daJ~ls zT;CJG&4RDQxv{D?>Dyy8TZW`MgFjfIfbj#tWV*&LLrlmT2l*CB`#4cnjOiMOaLIzF z$pUK@2?UKTqxw9K0x;JtAEzOvn(KFD&L56q!c&8U!LPrWa2!SZfYDSraUM)QUiV=i z#iBY= zFnPB72R`X?$1!N?9huoMOh+*)GHmo&q%-rY>xtK`iA0wt49||>RYUc@w5}y67F1=u zvlsn&#eL9Gj8jo-K`P(b%qc%lJoSrilJvu|!{Oc(D2(N2odx?i#f4BNMlJx-Gzyd&mkeSPv+_v;=YyjO90?$@gGx8U|9vM0Vd<#2CEEZ6-MP^7CWS*K42 z@8Hd_9)+5SJS8hx^VI!}1_o z_=s}E`AfPw}v&@?`7m&L=r>;qwV2T6r$S zL2=b_uorqZt%#)X(nNv-oUL6RK<1cP?O{m&yyIW8w`K0kfGG6{&J31Nnv{HEXqDu~ z9}lY+85wAf*+uqzqcJT+r)i3Fk`DysOdkyj^W-Gl9!TYN_)^7j}`3MyL;aZApZyY!Spwj4rF zk+BPTj;?BNot-Kprm?U8K3&fWf4|v{>&L~0Cr^fPc$fWtFu3+@ZQ>w*EPC8reg0*a Wla@lsjY5S5=Hkbqr-v#^V*Ll9G2WN} diff --git a/docs/_build/latex/muSRFlow.tex b/docs/_build/latex/muSRFlow.tex index cd5884d..5ae7238 100644 --- a/docs/_build/latex/muSRFlow.tex +++ b/docs/_build/latex/muSRFlow.tex @@ -1775,6 +1775,13 @@ precedence, and on builds without the bundle the system installation is used exactly as before. The runtime is built with \sphinxcode{\sphinxupquote{packaging/runtime/build.sh}} (see \sphinxcode{\sphinxupquote{packaging/runtime/README.md}}). +\sphinxAtStartPar +On Windows the bundled runtime runs inside a WSL2 distribution that muSRFlow +ships: the tools are invoked through \sphinxcode{\sphinxupquote{wsl.exe}} and file paths are translated +between the Windows and WSL forms, so inputs and outputs stay on the Windows +side. The rootfs is built with \sphinxcode{\sphinxupquote{packaging/wsl2/build\sphinxhyphen{}wsl2.sh}} and imported +once per user (see \sphinxcode{\sphinxupquote{packaging/wsl2/README.md}}). + \sphinxAtStartPar The workflow chapters of this manual apply to both editions. Where a step is specific to one edition (handling files, Preferences), the text says so diff --git a/docs/source/platforms.rst b/docs/source/platforms.rst index 743a9ae..fb0c860 100644 --- a/docs/source/platforms.rst +++ b/docs/source/platforms.rst @@ -47,6 +47,12 @@ precedence, and on builds without the bundle the system installation is used exactly as before. The runtime is built with ``packaging/runtime/build.sh`` (see ``packaging/runtime/README.md``). +On Windows the bundled runtime runs inside a WSL2 distribution that muSRFlow +ships: the tools are invoked through ``wsl.exe`` and file paths are translated +between the Windows and WSL forms, so inputs and outputs stay on the Windows +side. The rootfs is built with ``packaging/wsl2/build-wsl2.sh`` and imported +once per user (see ``packaging/wsl2/README.md``). + The workflow chapters of this manual apply to both editions. Where a step is specific to one edition (handling files, Preferences), the text says so explicitly. \ No newline at end of file diff --git a/muSRFitelec.js b/muSRFitelec.js index 914fd87..1f5d921 100644 --- a/muSRFitelec.js +++ b/muSRFitelec.js @@ -754,7 +754,8 @@ function loadRunHeaderText(filePath, fileFormat) { let env = buildToolEnvironment(); let args = ["-fn", filePath]; if (fileFormat) args.push("-ff", fileFormat); - let result = nodeChildProcess.spawnSync(dumpHeader, args, { + let launch = prepareLocalLaunch(dumpHeader, args); + let result = nodeChildProcess.spawnSync(launch.command, launch.args, { env: env, encoding: "utf8", shell: false @@ -893,6 +894,7 @@ function cancelElectronPreferences() { // msr2data template generation. Long-running fit/view execution uses spawn() // below so the Electron renderer is not blocked. function executeCapture(command, cwd = undefined, envOverrides = {}) { + command = prepareWslCommandString(command); try { const stdout = nodeChildProcess.execSync(command, { cwd: cwd, @@ -1062,6 +1064,64 @@ function buildToolEnvironment() { return env; } +// --- Windows / WSL2 execution ------------------------------------------- +// A packaged Windows build has no native ROOT + musrfit. Instead the same Linux +// runtime tree is imported into a bundled WSL2 distribution and the bundled +// tools run through wsl.exe. Host utilities (and a user-configured Windows tool +// directory) still launch directly. +var MUSRFLOW_WSL_DISTRO = "muSRFlow-runtime"; +var MUSRFLOW_WSL_PREFIX = "/opt/musrfit-runtime"; + +function isWslRuntimeHost() { + return nodeProcess && nodeProcess.platform === "win32" && bundledRuntimeRoot() !== ""; +} + +// Translate an absolute Windows path (C:\dir\file or C:/dir/file) to the path +// its WSL mount exposes. Non-path arguments (flags, run lists) pass through. +function windowsPathToWsl(input) { + if (typeof input !== "string" || input === "") return input; + let match = /^([A-Za-z]):[\\/](.*)$/.exec(input); + if (!match) return input; + return "/mnt/" + match[1].toLowerCase() + "/" + match[2].replace(/\\/g, "/"); +} + +// Wrap a bundled Linux tool as a wsl.exe invocation, translating path +// arguments. Commands outside the runtime bin directory are unchanged so host +// tools and Windows-native binaries keep working. +function prepareLocalLaunch(command, args) { + args = args || []; + if (!isWslRuntimeHost()) return { command: command, args: args, viaWsl: false }; + let binDir = bundledRuntimeBinDir(); + if (!binDir || command.indexOf(binDir) !== 0) { + return { command: command, args: args, viaWsl: false }; + } + let relative = command.slice(binDir.length).replace(/^[\\/]+/, "").replace(/\\/g, "/"); + let inner = MUSRFLOW_WSL_PREFIX + "/bin/" + relative; + let wslArgs = ["-d", MUSRFLOW_WSL_DISTRO, "--", inner] + .concat(args.map(windowsPathToWsl)); + return { command: "wsl.exe", args: wslArgs, viaWsl: true }; +} + +// Same translation for the one shell-string capture path (msr2data template +// generation), which builds a command such as +// "/msr2data \"[1 2]\" _tmpl msr-1 global". Only the leading bundled +// executable is rewritten and Windows paths inside the quoted arguments are +// converted so msr2data sees /mnt/... paths. +function prepareWslCommandString(command) { + if (!isWslRuntimeHost() || typeof command !== "string") return command; + let binDir = bundledRuntimeBinDir(); + if (!binDir || command.indexOf(binDir) !== 0) return command; + let remainder = command.slice(binDir.length).replace(/^[\\/]+/, ""); + let spaceIndex = remainder.search(/\s/); + let exe = spaceIndex === -1 ? remainder : remainder.slice(0, spaceIndex); + let rest = spaceIndex === -1 ? "" : remainder.slice(spaceIndex); + rest = rest.replace(/[A-Za-z]:[\\/][^\s"']*/g, function(match) { + return windowsPathToWsl(match); + }); + return "wsl.exe -d " + MUSRFLOW_WSL_DISTRO + " -- " + + MUSRFLOW_WSL_PREFIX + "/bin/" + exe + rest; +} + function resolveLocalCommand(commandName) { let candidates = []; let configuredBinDir = typeof getConfiguredBinDir === "function" @@ -1146,7 +1206,8 @@ function appendProcessOutput(label, chunk, logFile) { // Promise-based rather than callback-only so runMSRFileLocal() can express the // required sequence clearly and lets both executables share output classification. function runLocalProcess(label, command, args, cwd, logFile, options = {}) { - let commandLine = displayCommand(command, args); + let launch = prepareLocalLaunch(command, args); + let commandLine = displayCommand(launch.command, launch.args); let reportStatus = options.reportStatus !== false; if (reportStatus && typeof updateJobStatus === "function") { updateJobStatus({ @@ -1179,7 +1240,7 @@ function runLocalProcess(label, command, args, cwd, logFile, options = {}) { electronRunJobLogFile = logFile; electronRunJobAborted = false; } - return nodeChildProcess.spawnCapture(command, args, { + return nodeChildProcess.spawnCapture(launch.command, launch.args, { cwd: cwd, env: env, jobToken: jobToken @@ -1492,12 +1553,13 @@ async function collectIndependentSeriesArtifactsLocal(spec) { let msr2data = resolveLocalCommand("msr2data"); let env = buildToolEnvironment(); let runMsr2data = function(label, args) { - let commandLine = displayCommand(msr2data, args); + let launch = prepareLocalLaunch(msr2data, args); + let commandLine = displayCommand(launch.command, launch.args); appendFitLog(logPath, "\n$ " + commandLine + "\n"); if (typeof appendJobLog === "function") { appendJobLog("Starting independent series " + label + ": " + commandLine); } - let commandResult = nodeChildProcess.spawnSync(msr2data, args, { + let commandResult = nodeChildProcess.spawnSync(launch.command, launch.args, { cwd: workPath, env: env, encoding: "utf8", @@ -1618,14 +1680,15 @@ function exportLocalMusrfitParameterData(resolvedPath, options, logFile) { nodeFs.rmSync(parameterPath, { force: true }); nodeFs.writeFileSync(sourcePath, nodeFs.readFileSync(resolvedPath, "utf8"), "utf8"); - let commandLine = displayCommand(msr2data, args); + let launch = prepareLocalLaunch(msr2data, args); + let commandLine = displayCommand(launch.command, launch.args); appendFitLog(logFile, "\n$ " + commandLine + "\n"); if (typeof appendJobLog === "function") { appendJobLog("Starting msr2data parameter export: " + commandLine); } let env = buildToolEnvironment(); - let result = nodeChildProcess.spawnSync(msr2data, args, { + let result = nodeChildProcess.spawnSync(launch.command, launch.args, { cwd: fitDir, env: env, encoding: "utf8", diff --git a/packaging/runtime/README.md b/packaging/runtime/README.md index 24d4d7f..3815ab5 100644 --- a/packaging/runtime/README.md +++ b/packaging/runtime/README.md @@ -11,7 +11,7 @@ The runtime is a single install prefix that doubles as `ROOTSYS`: ``` runtime/ - bin/ # root-config, musrfit, musrt0, musrview, msr2data, ... + bin/ # root-config, musrfit, musrt0, musrview, msr2data, dump_header, ... lib/ # libCore.so…, libPMusr.so…, bundled third-party .so include/ etc/ # ROOT/system config diff --git a/packaging/runtime/build-runtime.sh b/packaging/runtime/build-runtime.sh index 2d8aa29..f935fd5 100755 --- a/packaging/runtime/build-runtime.sh +++ b/packaging/runtime/build-runtime.sh @@ -119,6 +119,23 @@ bundle_deps() { } bundle_deps +log "Verifying required tools" +# dump_header is part of the musrfit package (installed alongside musrfit) and +# is used by muSRFlow to read run headers; make sure every tool muSRFlow +# resolves from the bundle is actually present. +missing=0 +for tool in musrfit musrt0 musrview msr2data dump_header; do + if [ -x "$PREFIX/bin/$tool" ]; then + echo " ok $tool" + else + echo " MISSING $tool" >&2 + missing=1 + fi +done +if [ "$missing" -ne 0 ]; then + echo "WARNING: some tools muSRFlow needs are missing from $PREFIX/bin" >&2 +fi + log "Result" du -sh "$PREFIX" ls "$PREFIX/bin" | head -40 diff --git a/packaging/wsl2/README.md b/packaging/wsl2/README.md new file mode 100644 index 0000000..648516b --- /dev/null +++ b/packaging/wsl2/README.md @@ -0,0 +1,73 @@ +# Windows (WSL2) runtime + +Windows has no native ROOT + musrfit; the Linux tools cannot be run directly. +Instead muSRFlow reuses the **same Linux runtime tree** built for the AppImage +and runs it inside a bundled WSL2 distribution. + +## How it works + +`muSRFitelec.js` detects the Windows host and the bundled runtime +(`process.platform === "win32"` and `/runtime/bin/musrfit` present) +and routes every bundled tool through `wsl.exe`: + +``` +wsl.exe -d muSRFlow-runtime -- /opt/musrfit-runtime/bin/musrfit +``` + +Path arguments (`C:\dir\file`) are translated to their WSL mount form +(`/mnt/c/dir/file`) so the tools read and write the user's Windows files. Input +and output files therefore stay on the Windows side; musrfit writes into the +working directory, which WSL maps back through `/mnt/`. + +A user-configured **musrfit binaries** directory with Windows-native +executables is launched directly, and on non-Windows hosts the translation is +inert, so the Linux AppImage and development checkouts are unaffected. + +Constants (in `muSRFitelec.js`): the distribution name `muSRFlow-runtime` and +the in-distro prefix `/opt/musrfit-runtime`. + +## Building the rootfs + +Requires Docker or Podman and a built Linux runtime. + +```sh +packaging/wsl2/build-wsl2.sh +``` + +This installs the distro-level libraries the runtime needs (GSL, FFTW, libxml2, +Boost, OpenSSL, X11/GL, FreeType, Fontconfig, ...), copies `runtime/` to +`/opt/musrfit-runtime`, writes `/etc/wsl.conf`, and exports the container +filesystem to `packaging/wsl2/out/muSRFlow-runtime-rootfs.tar.gz`. + +## Importing on Windows + +One-time, per user (PowerShell): + +```powershell +wsl --import muSRFlow-runtime "$env:LOCALAPPDATA\muSRFlow\runtime" muSRFlow-runtime-rootfs.tar.gz +``` + +Verify: + +```powershell +wsl -d muSRFlow-runtime -- /opt/musrfit-runtime/bin/musrt0 --version +``` + +WSLg (Windows 11, or a recent Windows 10) supplies the X server that `musrview` +needs for the spectra window. + +## Packaging + +Ship the rootfs tarball alongside the Windows build (for example as an +electron-builder `extraResources` entry or a separate download), then arrange +the one-time `wsl --import`. Automating the import/upgrade from the app +(`main.js`) is a follow-up. + +## Open items + +- The rootfs is built from `manylinux_2_28` (AlmaLinux 8). Adjust `BASE_IMAGE` + if the runtime is rebuilt against a different baseline. +- Import is currently a documented manual step; wiring it into the app's first + run (detect, import, surface failures) is not yet implemented. +- `wsl.exe` availability is assumed; older Windows builds without WSL2 must + install it (`wsl --install`) first. diff --git a/packaging/wsl2/build-wsl2.sh b/packaging/wsl2/build-wsl2.sh new file mode 100755 index 0000000..9615755 --- /dev/null +++ b/packaging/wsl2/build-wsl2.sh @@ -0,0 +1,103 @@ +#!/usr/bin/env bash +# Copyright (C) 2026 Zaher Salman +# SPDX-License-Identifier: GPL-3.0-or-later +# +# Build a WSL2 rootfs tarball that carries the bundled ROOT + musrfit runtime +# for the Windows edition of muSRFlow. The renderer runs the bundled Linux +# tools through wsl.exe (see muSRFitelec.js::prepareLocalLaunch), so the same +# runtime tree used by the Linux AppImage is installed at +# /opt/musrfit-runtime inside the distribution. +# +# Requires Docker or Podman and a built runtime (packaging/runtime/build.sh, +# invoked automatically when runtime/bin/musrfit is missing). + +set -euo pipefail + +HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +REPO="$(cd "$HERE/../.." && pwd)" +RUNTIME_DIR="$REPO/runtime" +OUT_DIR="$HERE/out" +BASE_IMAGE="${BASE_IMAGE:-quay.io/pypa/manylinux_2_28_x86_64}" +DISTRO_NAME="${DISTRO_NAME:-muSRFlow-runtime}" +PREFIX="${PREFIX:-/opt/musrfit-runtime}" +OUTPUT="${OUTPUT:-$OUT_DIR/muSRFlow-runtime-rootfs.tar.gz}" + +if command -v docker >/dev/null 2>&1; then + ENGINE=docker +elif command -v podman >/dev/null 2>&1; then + ENGINE=podman +else + echo "ERROR: docker or podman is required" >&2 + exit 1 +fi + +if [ ! -x "$RUNTIME_DIR/bin/musrfit" ]; then + echo "runtime/ not built yet; running packaging/runtime/build.sh" + "$REPO/packaging/runtime/build.sh" +fi + +mkdir -p "$OUT_DIR" +CONTAINER="musrflow-wsl2-build" +"$ENGINE" rm -f "$CONTAINER" >/dev/null 2>&1 || true +trap '"$ENGINE" rm -f "$CONTAINER" >/dev/null 2>&1 || true' EXIT + +echo "Staging WSL2 rootfs in $BASE_IMAGE" +"$ENGINE" run --name "$CONTAINER" \ + -v "$RUNTIME_DIR:/tmp/runtime:ro" \ + -e "PREFIX=$PREFIX" \ + -e "DISTRO_NAME=$DISTRO_NAME" \ + "$BASE_IMAGE" \ + bash -c ' + set -euo pipefail + # The runtime binaries need the same distro-level libraries the Linux + # build links against; install them here so the WSL distribution is + # self-contained. + dnf -y install \ + gsl fftw libxml2 boost openssl-libs \ + mesa-libGL mesa-libGLU \ + libX11 libXext libXft libXpm libXcursor libXrandr libXi \ + freetype fontconfig libpng libjpeg-turbo libtiff \ + zlib xz-libs pcre2 \ + bash coreutils which \ + >/dev/null + dnf clean all >/dev/null + + mkdir -p "$(dirname "$PREFIX")" + cp -a /tmp/runtime "$PREFIX" + + # WSL defaults: no systemd in these tarballs, run as root, and keep the + # Windows PATH interop so wsl.exe can be launched with translated paths. + printf "[user]\ndefault=root\n[interop]\nappendWindowsPath=true\n" > /etc/wsl.conf + printf "muSRFlow bundled ROOT + musrfit runtime\n" > /opt/musrfit-runtime/README.txt + + # Every tool muSRFlow resolves from the bundle, including dump_header, + # must be present for the Windows edition to work. + for tool in musrfit musrt0 musrview msr2data dump_header; do + if [ -x "$PREFIX/bin/$tool" ]; then + echo " ok $tool" + else + echo " MISSING $tool" >&2 + fi + done + "$PREFIX/bin/musrt0" --version >/dev/null 2>&1 \ + && echo "runtime self-check OK" \ + || echo "WARNING: runtime self-check failed" + ' + +echo "Exporting rootfs to $OUTPUT" +"$ENGINE" export "$CONTAINER" | gzip -c > "$OUTPUT" + +cat <\n" + emptyCwd + "\n\n"); @@ -40,12 +41,13 @@ function localStoreFactory() { }; } -function buildSandbox(resourcesPath, envOverrides) { +function buildSandbox(resourcesPath, envOverrides, platform) { const sandbox = { console: { log: function() {}, error: console.error, warn: console.warn }, document: { getElementById: function() { return null; } }, process: { cwd: function() { return emptyCwd; }, + platform: platform || "linux", env: Object.assign({ HOME: emptyHome }, envOverrides || {}), resourcesPath: resourcesPath }, @@ -86,6 +88,11 @@ const resourcesPath = path.join(testRoot, "resources"); assert.strictEqual( sandbox.resolveLocalCommand("musrt0"), path.join(runtimeRoot, "bin", "musrt0")); + // dump_header ships with the musrfit package and must come from the bundle + // too, since the host may have no musrfit installation at all. + assert.strictEqual( + sandbox.resolveLocalCommand("dump_header"), + path.join(runtimeRoot, "bin", "dump_header")); assert.strictEqual( sandbox.localCommandPathBias().indexOf(path.join(runtimeRoot, "bin") + ":") === 0, true); @@ -146,4 +153,55 @@ const resourcesPath = path.join(testRoot, "resources"); path.join(runtimeRoot, "musrfit_startup.xml")); })(); +// Windows: the bundled Linux tools run through wsl.exe, with Windows path +// arguments translated to their /mnt//... form. Host and +// Windows-native commands are left untouched. +(function testWslLaunchTranslationOnWindows() { + const sandbox = buildSandbox(resourcesPath, {}, "win32"); + loadLibraries(sandbox); + + assert.strictEqual(sandbox.isWslRuntimeHost(), true); + assert.strictEqual(sandbox.windowsPathToWsl("C:\\data\\run.msr"), "/mnt/c/data/run.msr"); + assert.strictEqual(sandbox.windowsPathToWsl("D:/work/x"), "/mnt/d/work/x"); + assert.strictEqual(sandbox.windowsPathToWsl("/already/posix"), "/already/posix"); + assert.strictEqual(sandbox.windowsPathToWsl("-g"), "-g"); + + const bundleTool = path.join(runtimeRoot, "bin", "musrt0"); + const launch = sandbox.prepareLocalLaunch(bundleTool, ["-g", "C:\\work\\job.msr"]); + assert.strictEqual(launch.command, "wsl.exe"); + assert.strictEqual(launch.viaWsl, true); + assert.deepStrictEqual(Array.from(launch.args), [ + "-d", "muSRFlow-runtime", "--", + "/opt/musrfit-runtime/bin/musrt0", + "-g", "/mnt/c/work/job.msr" + ]); + + // A Windows-native tool (user-configured directory) is launched directly. + const nativeLaunch = sandbox.prepareLocalLaunch("C:\\tools\\musrfit.exe", ["-u", "4"]); + assert.strictEqual(nativeLaunch.command, "C:\\tools\\musrfit.exe"); + assert.strictEqual(nativeLaunch.viaWsl, false); + assert.deepStrictEqual(Array.from(nativeLaunch.args), ["-u", "4"]); + + // The msr2data shell-string path is rewritten too. + const commandString = bundleTool + " \"[1 2 3]\" _tmpl msr-1 global"; + assert.strictEqual( + sandbox.prepareWslCommandString(commandString), + "wsl.exe -d muSRFlow-runtime -- /opt/musrfit-runtime/bin/musrt0 \"[1 2 3]\" _tmpl msr-1 global"); + assert.strictEqual( + sandbox.prepareWslCommandString("C:\\tools\\msr2data.exe x"), + "C:\\tools\\msr2data.exe x"); +})(); + +// On a Linux host the WSL translation is inert even when the bundle is present. +(function testWslTranslationInertOnLinux() { + const sandbox = buildSandbox(resourcesPath, {}, "linux"); + loadLibraries(sandbox); + + assert.strictEqual(sandbox.isWslRuntimeHost(), false); + const bundleTool = path.join(runtimeRoot, "bin", "musrfit"); + const launch = sandbox.prepareLocalLaunch(bundleTool, ["-u", "2"]); + assert.strictEqual(launch.command, bundleTool); + assert.strictEqual(launch.viaWsl, false); +})(); + console.log("Bundled runtime resolution tests passed");