GalSim-developers/GalSim — pull request #210 by rmjarvis (2012-07-02 23:07:59+00:00)
Title: #208 Fix some bugs in photon shooting SBInterpolatedImage.

1. SBInterpolatedImage now returns the correct positive and negative flux when the interpolant has some negative parts.
2. drawShoot with N=0 now deals with eta > 0 correctly to compute the number of photons to use when some of them are negative photons.

We also discovered some features in the _variance_ of the photon shot images that have implications for how we use them. But this is probably not a bug. Just something to keep in mind for how we recommend people use photon shooting. c.f. Issue #204.