spacetelescope/pyasdf — pull request #46 by mdboom (2014-10-23 14:49:06+00:00)
Title: WIP: Generalized WCS -- try #3

This is a work-in-progress to get the generalized WCS stuff serializing to/from ASDF.

All of this is written against embray/astropy@9307fbafe741 (the compound modeling branch).

There's a few things in modeling that I either don't understand or need improvement:

- [ ] Models don't have equality defined, so it doesn't seem to be possible to serialize a model from disk, reload it and compare it against the original. Is that a hard thing to add?

- [ ] I've had to use some private APIs related to compound models (see `compound.py` below). Any thoughts about how to provide a public API to what I need?

- [ ] modeling only has an AffineTransformation2D. What would be involved in making it n-dimensional? In general, I don't think we should have separate classes for different dimensionality, with the exception of the very-specialized projections (TAN, XPH etc.) where n-dimensionality doesn't make sense.