Nikea/NSLS2 — pull request #131 by licode (2014-09-10 22:36:52+00:00)
Title: lmfit interface: wrap of elastic peak

Wrap elastic_peak function as a class object for fitting in lmfit. This PR is not ready for review, and I will add more functions as it goes. But you can get some clear picture how to use lmfit. Things to note are as following:

1. The parameters value can bounds can be easily changed according to fitting algorithm.
2. Argument name in elastic_peak function is changed in order to match the name used in parameter_data

The wrapper is straightforward, although it looks a bit messy.