Raise an error when the number of sets of coefficients provided by a user does not match the param_dim parameter and the number of coefficients sets cannot be inferred. Write to log.info if the number of coefficient sets can be inferred and create a model.
Fixed a typo. Renamed xdeg --> x_degree, ydeg --> y_degree
Make sure all polynomial models accept as input numbers, 1D and 2D arrays.
Fixed Legendre2DModel evaluation. Renamed utils.pmapdomain --> utils.poly_map_domain, xdomain --> x_domain, ydomain --> y_domain. Added dummy parameters to all polynomial derivatives to allow fitting of polynomials with non-linear fitters.
Move the __call__ method from Legendre2D and Chebyshev2D to the base class.
Changed the LinearLSQFitter to check for the presence of 'domain' and 'window' and then remap the data. This allows creating polynomial models without requireing that they have 'domain' and 'window' attributes.
Fix Poly2DModel docstring
documentation improvements
changes to  SIPModel to always require 2 inputs
Change the return value of SIPModel to be only the result of the model evaluation as opposed to returning the sum of the evaluated model and the initial input. This is different from astropy.wcs which returns the latter because wcslib works in pixel coordinates.
Pass n_inputs and n_outputs to the base class
Add OrthogPolyBase and PolynomialModel to __all__
Merge pull request #1144 from nden/polynomial_changes

Polynomial changes