symfit 0.3.0
After a long time, a brand new version. To throw around some prime marketing: "Nothing has changed - except everything".
The way models are handled has been completely redefined, allowing for great syntactic sugar such as:
- named dependent variables:
x, y = variables('x, y')
model = {y: a * x**2}
- And assigning data by name:
fit = Fit(model, x=xdata, y=ydata, sigma_y=sigma)
Furthermore this version finally comes with documentation of all the objects in the API, so symfit will finally be more useable and hopefully more easy to contribute to.
One downside: Python 2 support has been dropped in this version. I don't have the time to support both versions of Python, and frankly Python 3 just offers some language features I don't want to do without anymore.