astropy/astropy — pull request #1878 by cdeil (2013-12-09 12:37:41+00:00)
Title: WIP: Improve modeling docs how to create user-defined models and fitters

This pull request tries to improve the sections of the modeling docs that explain how to implement user-defined models and fitters.

* Split it in two pages: user-defined models; user-defined fitters
* Extract examples into Python files so that they can be easily tested (the current user-defined fitter example is completely broken) and the user has a working example to copy & paste and get started.

@nden @embray @astrofrog Please review.

TODO:

- [ ] Replace `TODO` markers with actual line numbers
- [ ] Rewrite `new_model.rst` in the same style I rewrote `new_fitter.rst`.