Provided by: python-bumps_0.7.11-2_all

**NAME**

bumps - data fitting and Bayesian uncertainty modeling for inverse problems

**SYNOPSIS**

bumps[options]modelfile[modelargs]bumps[{-?|-h|--help}]

**DESCRIPTION**

This manual page documents briefly thebumpscommand (bumps3for python3). This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in HTML and in the GNUinfo(1) format; see below.bumpsprovides a set of routines for curve fitting and uncertainty analysis from a Bayesian perspective. In addition to traditional optimizers which search for the best minimum they can find in the search space, bumps provides uncertainty analysis which explores all viable minima and finds confidence intervals on the parameters based on uncertainty in the measured values. Bumps has been used for systems of up to 100 parameters with tight constraints on the parameters. Full uncertainty analysis requires hundreds of thousands of function evaluations, which is only feasible for cheap functions, systems with many processors, or lots of patience. Bumps includes several traditional local optimizers such as Nelder-Mead simplex, BFGS and differential evolution. Bumps uncertainty analysis uses Markov chain Monte Carlo to explore the parameter space. Although it was created for curve fitting problems, Bumps can explore any probability density function, such as those defined by PyMC. In particular, the bumps uncertainty analysis works well with correlated parameters. The modelfile is a Python script (i.e., a series of Python commands) which sets up the data, the models, and the fittable parameters. The model arguments are available in the modelfile as sys.argv[1:]. Model arguments may not start with '-'.

**OPTIONS**

The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the HTML documentation orinfo(1) files.--previewdisplay model but do not perform a fitting operation--pars=filenameinitial parameter values; fit results are saved asmodelname.par--plot=log[linear|log|residuals]type of plot to display--simulatesimulate a dataset using the initial problem parameters--simrandomsimulate a dataset using random problem parameters--shakeset random parameters before fitting--noise=5%percent noise to add to the simulated data--seed=integerrandom number seed--errshow uncertainty estimate from curvature at the minimum--covshow the covariance matrix for the model when done--entropycompute entropy for the model when done [dream only]--stajoutput staj file when done--editstart the gui--view=linear|logone of the predefined problem views; reflectometry also has fresnel, logfresnel, q4 and residuals--store=pathoutput directory for plots and models--overwriteif store already exists, replace it--resume=path[dream]resume a fit from previous stored state--parallelrun fit using multiprocessing for parallelism--mpirun fit using MPI for parallelism (use command "mpirun -n cpus ...")--batchbatch mode; save output in .mon file and don't show plots after fit--noshowsemi-batch; send output to console but don't show plots after fit--remotequeue fit to run on remote server--notify=user@emailremote fit notification--queue=http://reflectometry.orgremote job queue--time=infrun for a maximum number of hours--fit=amoeba[amoeba|de|dream|lm|newton|ps|pt|rl|snobfit]fitting engine to use; see manual for details--steps=400[amoeba|de|dream|lm|newton|ps|pt|rl|snobfit]number of fit iterations after any burn-in time--samples=1e4[dream]set steps so the target number of samples is drawn--xtol=1e-4[de,amoeba]minimum population diameter--ftol=1e-4[de,amoeba]minimum population flatness--pop=10[dream,de,rl,ps]population size--burn=100[dream,pt]number of burn-in iterations before accumulating stats--thin=1[dream]number of fit iterations between steps--nT=25--Tmin=0.1--Tmax=10[pt]temperatures vector; use a higher maximum temperature and a larger nT if your fit is getting stuck in local minima--CR=0.9[de,rl,pt]crossover ratio for population mixing--starts=1[newton,rl,amoeba]number of times to run the fit from random starting points.--keep_bestwhen running with multiple starts, restart from a point near the last minimum rather than using a completely random starting point.--init=eps[dream]population initialization method: eps ball around initial parameter set lhs latin hypercube sampling cov normally distributed according to covariance matrix random uniformly distributed within parameter ranges--stepmonshow details for each step--resynth=0run resynthesis error analysis for n generations--time_modelrun the model --steps times in order to estimate total run time.--profilerun the python profiler on the model; use --steps to run multiple models for better statistics--chisqprint the model description and chisq value and exit-m,-c,-pcommandrun the python interpreter with bumps on the path: m command is a module such as bumps.cli, run as __main__ c command is a python one-line command p command is the name of a python script-istart the interactive interpreter-?,-h,--helpdisplay this help

**SEE** **ALSO**

Bumps is documented fully in HTML at/usr/share/doc/python-bumps-doc/html/index.html[1] and also in theinfo(1) system.

**AUTHOR**

DrewParsons<dparsons@debian.org> Wrote this manpage for the Debian system.

**COPYRIGHT**

Copyright © 2017 Drew Parsons This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

**NOTES**

1. /usr/share/doc/python-bumps-doc/html/index.html file:///usr/share/doc/python-bumps-doc/html/index.html