GalSim-developers/GalSim — pull request #136 by barnabytprowe (2012-05-08 00:45:55+00:00)
Title: #71 - added createSheared(), createRotated() etc. methods to GSObject base class

Hi all,

Following the discussion in #71 (and enhanced urgency of these changes for Mike noted in #103) we've added the createSheared() etc. methods. I've also tidied up some of the defunct comments in `base.py`, and added a semi/Python-hidden convenience function `_g1g2_to_e1e2` so that the conversion Mike was previously doing in `applyShear()` is not needlessly replicated in the `createSheared()` method that must do the same thing.

This is only a fairly small pull request, mostly done for record keeping. Comments welcomed of course.