GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Iterate over boundaries linearly in distortion update #1137

Closed jamesp-epcc closed 2 years ago

jamesp-epcc commented 2 years ago

This PR modifies the distortion update to iterate over the pixel boundaries linearly instead of per-pixel as before. This speeds up the tests by around 15% and simplifies the code.