GalSim-developers/GalSim — pull request #73 by joergdietrich (2012-04-04 15:29:00+00:00)
Title: #25 simple atmosphere

Following the discussion with Barney on #25, this branch implements a simple double Gaussian for atmospheric PSF for the first milestone. I wrote the skeleton of a python class GSAdd, which has an SBAdd attribute. This currently features only the draw() and add() methods. The class DoubleGaussian is derived from that. The accompanying unit tests check that the double Gaussians returned by this class are identical to double Gaussians constructed by galsim.SBAdd/galsim.SBGaussian and test against a reference image, which was already present as part of test_SBProfile.

Some unit tests, which were written for an earlier version of the atmosphere model and were made obsolete by Barney's new python base classes were integrated into test_SBProfile, as they really are SBProfile regression tests.