lsqfitics
Wrapper of lsqfit for computing various information criteria, particularly those listed in arXiv:2208.14983 [stat.ME], using vegas.
Graphical user interface for lsqfit
using dash
.
See here for the documentation.
Run
pip install [-e] .
Either directly use a fit object to spawn a server
# some_script.py
from lsqfit import nonlinear_fit
from lsqfitgui import run_server
...
fit = nonlinear_fit(data, fcn=fcn, prior=prior)
run_server(fit)
or use the console script entry point pointing to a gvar
pickeled fit (and a fit function which is not stored in the pickled file)
#other_script.py
import gvar as gv
from lsqfit import nonlinear_fit
def fcn(x, p):
y = ...
return y
...
fit = nonlinear_fit(data, fcn=fcn, prior=prior)
gv.dump(fit, "fit.p")
and run
lsqfitgui [--function other_script.py:fcn] fit.p
Both commands will spawn a local server hosting the lsqfit interface.
It is possible to also set up fit meta information, i.e., allowing different fit models. See also the example
directory for more details.
The following script spawns the server which generated the above image
python example/entrypoint.py
Wrapper of lsqfit for computing various information criteria, particularly those listed in arXiv:2208.14983 [stat.ME], using vegas.
Sixth Plenary Workshop of the Muon g-2 Theory Initiative [PDF of slides]
Lawrence Berkeley National Lab [seminar] [PDF of slides]
PoS(Lattice2021) Volume 396 (2022) [arXiv:2201.01343]
Los Alamos National Lab [invited talk] [PDF of slides]
Chiral Dynamics 2021 bulletin [PDF of slides]
Graphical user interface for lsqfit using dash.
Lattice 2021 bulletin [PDF of slides]
Director’s review of the Nuclear Science Division [PDF of poster]
Python code for our scale setting analysis.
Phys. Rev. D 103, 054511 (2021) [arXiv:2011.12166]
American Physical Society bulletin [PDF of slides]
A python noteboook for plotting points and lines, expressly written for making spacetime diagrams. To get started with a tutorial, launch the binder inst...
Phys. Rev. D 102, 034507 (2020) [arXiv:2005.04795]
Python code for our $F_K/F_\pi$ analysis.