AstroHuntsman / gunagala

4 stars 9 forks source link

Reduce memory usage for simulated images with analytic PSFs #29

Open AnthonyHorton opened 5 years ago

AnthonyHorton commented 5 years ago

Currently Imager.make_noiseless_image evaluates analytic PSFs for every pixel in the ouput image, for every star in the image. With the oversampling evaluation method this results in some huge temporary arrays being created, which can easily consume all the free RAM. Some memory usage optimisation are required.

This issue has been blocking #16