GalSim-developers/GalSim — pull request #188 by barnabytprowe (2012-06-07 22:24:57+00:00)
Title: #179 - Move utility functions from optics.py into a utilities.py module

Very basic pull request: some handy functions in optics.py and base.py (`roll2d`, `kxky` and `g1g2_to_e1e2`) have now been moved to a `utilities.py` module in the `galsim/` directory.

Future handy functions that may find use in multiple modules can also now be put in `utilities.py`.

As well all instances of calls to these features being update to use the `utilities.` namespace, unit tests are also updated.