~ubuntu-branches/ubuntu/trusty/guiqwt/trusty

« back to all changes in this revision

Viewing changes to guiqwt/tests/fit.py

  • Committer: Bazaar Package Importer
  • Author(s): Picca Frédéric-Emmanuel
  • Date: 2011-04-07 22:41:50 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110407224150-kkhppnq7rp2c8b3c
Tags: 2.1.0-1
* Imported Upstream version 2.1.0
* debian/patches/
  - 0001-features-01_bts614083.patch (delete)
  - 0001-feature-fix-the-documentation-build.patch (new)
* add and install the sift desktop file
* recommends python-dicom (Closes: #621421)
  thanks Junqian Gordon Xu for the report

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    a = FitParam("Offset", 1., 0., 2.)
25
25
    b = FitParam("Frequency", 2., 1., 10., logscale=True)
26
26
    params = [a, b]
27
 
    values = guifit(x, y, fit, params)
 
27
    values = guifit(x, y, fit, params, xlabel="Time (s)", ylabel="Power (a.u.)")
28
28
    
29
29
    print values
30
30
    print [param.value for param in params]