menpo/menpo — pull request #291 by jabooth (2014-05-03 09:38:49+00:00)
Title: Move RBF functions to menpo.transform, make them Transform's

`menpo.basis.rbf` contains two transform functions, but redefines the `Transform` interface called `BasisFunction`. The was a necessary evil many months ago when `Transform` was a huge monolithic interface, but now it is completely unnecessary. Futhermore, having `menpo.basis` as a top level package seems very strange for just two functions (that are really Transforms), see #289.

This PR is two clean commits:

1. Move `menpo.basis.rbf` to `menpo.transform.rbf`. Make naming consistent, and expose these methods at `menpo.transform`.

2. Drop redefinition of `apply` (should use `Transform`) and `jacobian_points` (in future, should use `Differentiable`). Make `RadialBasisFunction` a subclass of `Transform`.

All tests pass.