astropy/astropy — pull request #534 by mdboom (2012-12-05 18:36:29+00:00)
Title: Support broadcasting of arrays in WCS transformation functions

This reinstates a feature that was inadvertently broken. When passing multiple arrays to a WCS transformation function, it should be enough that the arrays are broadcastable -- they do not strictly have to be the same size or shape. A test has been added to ensure this remains the case.

This is an alternative to #518, in that it also ensure that the result is the broadcasted shape of the input arrays. This uses the tests from that PR as-is.