File: readme.rst

package info (click to toggle)
python-bumps 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,180 kB
  • sloc: python: 24,284; xml: 493; ansic: 373; makefile: 209; sh: 94; javascript: 88
file content (13 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
.. _peaks-example:

Peak Fitting
************

This example shows how to develop multipart models using bumps parameters.
The data format is 2D, so the usual 1D x-y plots are not sufficient, and
a special plot method is needed to display the data.

This uses a library of peak functions to model the peaks. In order for this
to work peaks.py must be on your python path. For example, on linux or mac:

    PYTHONPATH=. bumps -b --fit=dream model.py --store=peaks.h5