astropy/astropy — pull request #518 by astrofrog (2012-12-02 10:39:02+00:00)
Title: Make WCS transformations preserve input shape

@mdboom - this is an improvement to astropy.wcs to preserve the shape of input arrays when doing e.g.

```
xw, yw = wcs.wcs_pix2world(x, y, 0)
```

In the above case, ``xw`` will have the same shape as ``x``, and also shapes of the input are checked, so ``x.shape`` should be the same as ``y.shape``. Do you see any undesirable side effects from this?